mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-10 15:01:50 +02:00
profiles: enable ipc and network sandboxing
Another day, another intermittent build failure because the local xml docbook catalog didn't work right and the xml parser also failed to fetch the schema over the network. Configure portage to use network namespaces to prevent such situations from ever working in the first place so at least the errors are unlikely to be intermittent. For the sake of completeness use ipc namespaces too but that is less likely to actually be a factor in our builds.
This commit is contained in:
parent
4891564ed3
commit
88c131cfd6
@ -74,7 +74,8 @@ CCACHE_SIZE="2.5G"
|
|||||||
|
|
||||||
# Always build binary packages, remove old build logs, avoid running as root.
|
# Always build binary packages, remove old build logs, avoid running as root.
|
||||||
FEATURES="buildpkg ccache clean-logs compressdebug parallel-install splitdebug
|
FEATURES="buildpkg ccache clean-logs compressdebug parallel-install splitdebug
|
||||||
userfetch userpriv usersandbox -merge-sync"
|
userfetch userpriv usersandbox ipc-sandbox network-sandbox
|
||||||
|
-merge-sync"
|
||||||
|
|
||||||
# No need to restrict access to build directories in dev environments.
|
# No need to restrict access to build directories in dev environments.
|
||||||
PORTAGE_WORKDIR_MODE="0755"
|
PORTAGE_WORKDIR_MODE="0755"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user