mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 22:16:58 +02:00
setup_board: make sure /usr/local/bin exists
We currently rely on the fact some package happens to install into /usr/local/bin and creates the dir for us. If that doesn't happen, then we fail when generating local wrappers. So run mkdir first to make sure everything is sane. BUG=chromium-os:31039 TEST=`cbuildbot chromiumos-sdk` works Change-Id: I42f9122e1a8aa7aa19a7efb17deaa6dd28e58582 Reviewed-on: https://gerrit.chromium.org/gerrit/41929 Reviewed-by: David James <davidjames@chromium.org> Commit-Queue: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
parent
79ae5b4a06
commit
cf7a09344b
@ -362,7 +362,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cmds=(
|
cmds=(
|
||||||
"mkdir -p '${BOARD_ROOT}' '${BOARD_ETC}' '${BOARD_PROFILE}'"
|
"mkdir -p '${BOARD_ROOT}' '${BOARD_ETC}' '${BOARD_PROFILE}' /usr/local/bin"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Setup the make.confs. We use the following:
|
# Setup the make.confs. We use the following:
|
||||||
|
Loading…
Reference in New Issue
Block a user