From ccfec8f71ba516163f47048ecbd247ededa34ef8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 28 Feb 2012 02:17:55 -0500 Subject: [PATCH] setup_board: don't select compilers We don't want the compilers listed in @world because we want crossdev to manually take care of rebuilding everything. Fix bug in previous change to --select logic where it leaked --select into the compiler install and the --oneshot didn't override. BUG=None TEST=None Change-Id: I9db3e9149f727a0a74dbb55627d3b71b1064e3b5 Reviewed-on: https://gerrit.chromium.org/gerrit/16940 Reviewed-by: David James Commit-Ready: Mike Frysinger Tested-by: Mike Frysinger --- setup_board | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/setup_board b/setup_board index 8908c23e55..db7020615e 100755 --- a/setup_board +++ b/setup_board @@ -666,13 +666,12 @@ if ${HOST_BOARD}; then # Next, install our rebuilt packages into our separate root. HOST_FLAGS="--root=$BOARD_ROOT --update --verbose --deep --root-deps" HOST_FLAGS+=" --with-bdeps=y --newuse --jobs=$NUM_JOBS --usepkgonly" - HOST_FLAGS+=" --select" - sudo -E $EMERGE_CMD $HOST_FLAGS $PACKAGES + sudo -E $EMERGE_CMD $HOST_FLAGS --select=y $PACKAGES sudo cp -a "${PKGDIR}" $BOARD_ROOT/packages # Install cross-compilers. COMPILERS=$(equery l cross-*/* --format='=$cpv') - sudo -E $EMERGE_CMD $HOST_FLAGS --oneshot $COMPILERS + sudo -E $EMERGE_CMD $HOST_FLAGS --select=n $COMPILERS # Setup needed symlinks for cross-compilers. sudo mkdir -p $BOARD_ROOT/usr/local/portage