Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: image_to_usb.sh

Issue 3519003: crosutils: refine imaging output message (as instructions) (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/crosutils.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build_image ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: image_to_usb.sh
diff --git a/image_to_usb.sh b/image_to_usb.sh
index 81a3ab58dddab0523cfd0430fecf9ea022a55062..8248c393dee271ff0e2c6be2db1a5a1f37e8486c 100755
--- a/image_to_usb.sh
+++ b/image_to_usb.sh
@@ -263,14 +263,7 @@ else
echo "Copying ${SRC_IMAGE} to ${FLAGS_to}..."
cp -f "${SRC_IMAGE}" "${FLAGS_to}"
- echo "Done. To copy to a USB drive, outside the chroot, do something like:"
- echo " sudo dd if=${FLAGS_to} of=/dev/sdX bs=4M"
+ echo "Done. To copy to a USB drive, do something like:"
+ echo " sudo dd if=${FLAGS_to} of=/dev/sdX bs=4M oflag=sync"
echo "where /dev/sdX is the entire drive."
- if [ ${INSIDE_CHROOT} -eq 1 ]
- then
- example=$(basename "${FLAGS_to}")
- echo "NOTE: Since you are currently inside the chroot, and you'll need to"
- echo "run dd outside the chroot, the path to the USB image will be"
- echo "different (ex: ~/chromeos/trunk/src/build/images/SOME_DIR/$example)."
- fi
fi
« no previous file with comments | « build_image ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698