From: Mike Frysinger Date: Tue, 10 Nov 2020 09:13:41 +0000 (-0500) Subject: cros-board: use test image for VMs X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=df8cd7430f504d403d303b142540e55fffc0f9c4;p=home.git cros-board: use test image for VMs --- diff --git a/.bin/cros-board b/.bin/cros-board index e4a793b..066804f 100755 --- a/.bin/cros-board +++ b/.bin/cros-board @@ -27,7 +27,6 @@ Options: --autotest Build & install autotest packages. --factory Build factory packages & image. --nousepkg Force build from source. - --vm Create VM image. --clean ? @@ -60,7 +59,6 @@ ARG_AUTOTEST=false ARG_FACTORY=false ARG_VERBOSE=false ARG_TEST=false -ARG_VM=false while [[ $# -ne 0 ]] ; do case $1 in --clean) ARG_CLEAN=true;; @@ -72,7 +70,6 @@ while [[ $# -ne 0 ]] ; do --nousepkg) ARG_NOPKG=true;; --autotest) ARG_AUTOTEST=true;; --factory) ARG_FACTORY=true;; - --vm) ARG_VM=true;; -h) usage;; *) echo "unknown opt: $*"; exit 1;; esac @@ -135,11 +132,6 @@ if ${ARG_DEV_USER} ; then sync & fi -IMG_TO_VM=( ${d}/image_to_vm.sh --board=${BOARD} --from=${BUILD_DIR}/images/${BOARD}/latest --test_image ) -if ${ARG_VM} ; then - run "${IMG_TO_VM[@]}" -fi - cd "${IMAGES}" rm -rf $(ls -td1R `find -mindepth 1 -maxdepth 1 -type d` | sed -e 1d -e 2d) @@ -150,8 +142,7 @@ cat <