From: Mike Frysinger Date: Wed, 24 Apr 2013 18:18:07 +0000 (-0400) Subject: cros-board: disable factory building by default X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=c3634e7145663c246cad1a4fcf2a98ce4bead1b5;p=home.git cros-board: disable factory building by default --- diff --git a/.bin/cros-board b/.bin/cros-board index 93f1bd6..6b75d74 100755 --- a/.bin/cros-board +++ b/.bin/cros-board @@ -18,6 +18,7 @@ ARG_DEV_USER=false ARG_PRETEND=false ARG_NOPKG=false ARG_AUTOTEST=false +ARG_FACTORY=false ARG_VERBOSE=false ARG_TEST=false while [[ $# -ne 0 ]] ; do @@ -30,6 +31,7 @@ while [[ $# -ne 0 ]] ; do -t) ARG_TEST=true;; --nousepkg) ARG_NOPKG=true;; --autotest) ARG_AUTOTEST=true;; + --factory) ARG_FACTORY=true;; -h) exec sed -n '/^while/,/^done/p' "$0";; *) echo "unknown opt: $*"; exit 1;; esac @@ -78,6 +80,7 @@ run ./build_packages \ --nowithdebug \ --skip_chroot_upgrade \ $(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"