From: Mike Frysinger Date: Wed, 16 Apr 2014 22:04:00 +0000 (-0400) Subject: cros-board: use `cros flash` X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f9163cb524ab1775c39008aa340888263012cafe;p=home.git cros-board: use `cros flash` --- diff --git a/.bin/cros-board b/.bin/cros-board index df6aa90..99c221e 100755 --- a/.bin/cros-board +++ b/.bin/cros-board @@ -86,7 +86,7 @@ run ./build_packages \ BUILD_IMG="./build_image --board=${BOARD} --noenable_rootfs_verification $(tfe ${ARG_TEST} test) dev" run ${BUILD_IMG} -IMG_TO_USB="./image_to_usb.sh --board=${BOARD} -y --to=${ARG_DEV}" +IMG_TO_USB="cros flash --yes usb://${ARG_DEV} xbuddy://local/${BOARD}/latest/dev" if ${ARG_DEV_USER} ; then run ${IMG_TO_USB} sync & @@ -97,7 +97,6 @@ rm -rf $(ls -td1R `find -mindepth 1 -maxdepth 1 -type d` | sed -e 1d -e 2d) d="~/trunk/src/scripts" BUILD_IMG="${d}/${BUILD_IMG#./}" -IMG_TO_USB="${d}/${IMG_TO_USB#./}" cat <