fix(update_chroot): Install sysroot-wrappers before updating toolchain.

sysroot-config will be called if anything is installed/upgraded so it
better be there and ready! :)
This commit is contained in:
Michael Marineau 2013-07-17 18:24:31 -04:00
parent 51f52bbca2
commit b2f4f1a92e

View File

@ -92,7 +92,7 @@ fi
# can cause serious issues later. # can cause serious issues later.
if [ "${FLAGS_skip_toolchain_update}" -eq "${FLAGS_FALSE}" ]; then if [ "${FLAGS_skip_toolchain_update}" -eq "${FLAGS_FALSE}" ]; then
# First update crossdev. # First update crossdev.
sudo -E ${EMERGE_CMD} ${EMERGE_FLAGS} crossdev sudo -E ${EMERGE_CMD} ${EMERGE_FLAGS} crossdev sysroot-wrappers
TOOLCHAIN_FLAGS=( "--include-boards=${FLAGS_toolchain_boards}" ) TOOLCHAIN_FLAGS=( "--include-boards=${FLAGS_toolchain_boards}" )
# This should really only be skipped while bootstrapping. # This should really only be skipped while bootstrapping.