From ef381d0538598fa92bf81cf1b7bc26bcb88a19d1 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 13 Nov 2019 15:41:55 -0500 Subject: [PATCH] cros-board: update! --- .bin/cros-board | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" -- 2.39.5