From f9163cb524ab1775c39008aa340888263012cafe Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 16 Apr 2014 18:04:00 -0400 Subject: [PATCH] cros-board: use `cros flash` --- .bin/cros-board | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 <