From 469b7be8574212b86fbf07f3349bc87b49f0ef46 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 3 Apr 2012 11:45:47 -0400 Subject: [PATCH] handle chroot update manually --- .bin/cros-board | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bin/cros-board b/.bin/cros-board index a7a83a7..5f1a778 100755 --- a/.bin/cros-board +++ b/.bin/cros-board @@ -55,9 +55,11 @@ rm -f "${IMAGES}"/log.* einfo "Log root: ${IMAGES}/log." +run ./update_chroot + if ${ARG_CLEAN} || [[ ! -d ${BUILD} ]] ; then run sudo rm -rf "${BUILD}" - run ./setup_board --board=${BOARD} + run ./setup_board --board=${BOARD} --skip_chroot_upgrade if [ $? -ne 0 ] ; then run sudo rm -rf "${BUILD}" exit 1 @@ -68,6 +70,7 @@ run ./build_packages \ --board=${BOARD} \ --oldchromebinary \ --nowithdebug \ + --skip_chroot_upgrade \ $(tfe ${ARG_NOPKG} --nousepkg) \ $(tfe ${ARG_TEST} --withtest) BUILD_IMG="./build_image --board=${BOARD} --noenable_rootfs_verification $(tfe ${ARG_TEST} --test) dev" -- 2.39.5