From cf7a09344b83347032a67dafc6d45d43b2208ed0 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 24 Jan 2013 11:50:42 -0500 Subject: [PATCH] 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 Commit-Queue: Mike Frysinger Tested-by: Mike Frysinger --- setup_board | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_board b/setup_board index 58a10277aa..57e969c3ce 100755 --- a/setup_board +++ b/setup_board @@ -362,7 +362,7 @@ else fi 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: