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 |