X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=.bin%2Fcros-board;h=066804f2ee1f634d1664b88f17ae48fff92deb13;hb=fb5d2cb632ad05e57c8b257f5a3c85bb75c8ac31;hp=e4a793bf6cfa5e0531015f54f50610f2a77c1f60;hpb=ef381d0538598fa92bf81cf1b7bc26bcb88a19d1;p=home.git 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 <