]> git.wh0rd.org Git - home.git/commitdiff
handle chroot update manually
authorMike Frysinger <vapier@gentoo.org>
Tue, 3 Apr 2012 15:45:47 +0000 (11:45 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 28 Apr 2012 19:36:46 +0000 (15:36 -0400)
.bin/cros-board

index a7a83a7bf0029fa627224130f0be4789b2adc5d2..5f1a7786ba0de8afadf6fcd8958654956b465823 100755 (executable)
@@ -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"