mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-23 09:22:13 +01:00
setup_board: disable ebuild-locks for dev builds
This cuts image build time in half and also has a positive effect on package installation.
This commit is contained in:
parent
173554db7a
commit
bdcf7069d9
@ -272,6 +272,9 @@ EMERGE_DEFAULT_OPTS="--oneshot"
|
||||
# Allow the user to override or define additional settings.
|
||||
source "${BOARD_ETC}/portage/make.conf.user"
|
||||
EOF
|
||||
if [[ "${COREOS_OFFICIAL:-0}" -ne 1 ]]; then
|
||||
echo "FEATURES=-ebuild-locks" | sudo_append "${BOARD_ETC}/portage/make.conf"
|
||||
fi
|
||||
|
||||
# required when using --regen_configs_only
|
||||
sudo mkdir -p --mode=01777 "${BOARD_ROOT}"{/tmp,/var/tmp}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user