From: Mike Frysinger Date: Wed, 13 Nov 2019 20:41:55 +0000 (-0500) Subject: cros-board: update! X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ef381d0538598fa92bf81cf1b7bc26bcb88a19d1;p=home.git cros-board: update! --- diff --git a/.bin/cros-board b/.bin/cros-board index 58a7870..e4a793b 100755 --- a/.bin/cros-board +++ b/.bin/cros-board @@ -110,7 +110,7 @@ run ./update_chroot --toolchain_boards=${BOARD} if ${ARG_CLEAN} || [[ ! -d ${BUILD} ]] ; then run sudo rm -rf "${BUILD}" run setup_board --board=${BOARD} --skip-chroot-upgrade - if [ $? -ne 0 ] ; then + if [[ $? -ne 0 ]] ; then run sudo rm -rf "${BUILD}" exit 1 fi @@ -121,11 +121,12 @@ run ./build_packages \ --nowithdebug \ --nowithrevdeps \ --skip-chroot-upgrade \ + --autosetgov \ $(tfe ${ARG_AUTOTEST} --{,no}withautotest) \ $(tfe ${ARG_FACTORY} --{,no}withfactory) \ $(tfe ${ARG_NOPKG} --{no,}usepkg) \ $(tfe ${ARG_TEST} --{,no}withtest) -BUILD_IMG="./build_image --board=${BOARD} --noenable_rootfs_verification $(tfe ${ARG_TEST} test) dev" +BUILD_IMG="./build_image --board=${BOARD} --noenable_rootfs_verification $(tfe ${ARG_TEST} test base)" run ${BUILD_IMG} IMG_TO_USB="cros flash --yes usb://${ARG_DEV} xbuddy://local/${BOARD}/latest/dev"