mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
fix(setup_board): Allow make.conf.user to be per-board
Previously this would symlink to a global make.conf.user making it impossible to apply changes to a board but not the SDK.
This commit is contained in:
parent
b1841e4fb7
commit
9482d5cdf4
@ -231,8 +231,7 @@ cmds+=(
|
||||
'${BOARD_ETC}/make.conf'"
|
||||
"ln -sf '${COREOS_CONFIG}/make.conf.common-target' \
|
||||
'${BOARD_ETC}/make.conf.common'"
|
||||
"touch /etc/portage/make.conf.user"
|
||||
"ln -sf /etc/portage/make.conf.user '${BOARD_ROOT}/etc/make.conf.user'"
|
||||
"touch '${BOARD_ROOT}/etc/make.conf.user'"
|
||||
)
|
||||
for d in "${SCRIPTS_DIR}"/hooks/*; do
|
||||
cmds+=( "ln -sfT '${d}' '${BOARD_ROOT}/etc/portage/hooks/${d##*/}'" )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user