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:
Michael Marineau 2014-04-09 17:32:28 -07:00
parent b1841e4fb7
commit 9482d5cdf4

View File

@ -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##*/}'" )