setup_board: always create tmp directories

This commit is contained in:
Michael Marineau 2016-02-20 14:05:50 -08:00
parent a714804ca6
commit 61672f7f75

View File

@ -271,6 +271,9 @@ EOF
sudo cp /etc/portage/repos.conf/* "${BOARD_ETC}"/portage/repos.conf/ sudo cp /etc/portage/repos.conf/* "${BOARD_ETC}"/portage/repos.conf/
# required when using --regen_configs_only
sudo mkdir -p --mode=01777 "${BOARD_ROOT}"{/tmp,/var/tmp}
# make it easy to find debug symbols # make it easy to find debug symbols
sudo mkdir -p /usr/lib/debug/build sudo mkdir -p /usr/lib/debug/build
sudo ln -sfT ${BOARD_ROOT}/usr/lib/debug /usr/lib/debug/${BOARD_ROOT} sudo ln -sfT ${BOARD_ROOT}/usr/lib/debug /usr/lib/debug/${BOARD_ROOT}