From 61672f7f75e1011028ecc753b495dd171949ca1e Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Sat, 20 Feb 2016 14:05:50 -0800 Subject: [PATCH] setup_board: always create tmp directories --- setup_board | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup_board b/setup_board index 1868b8e1f8..163d0dd673 100755 --- a/setup_board +++ b/setup_board @@ -271,6 +271,9 @@ EOF 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 sudo mkdir -p /usr/lib/debug/build sudo ln -sfT ${BOARD_ROOT}/usr/lib/debug /usr/lib/debug/${BOARD_ROOT}