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

Unified Diff: mod_image_for_dev_recovery.sh

Issue 3789004: Fixed partner issue 1414: Failed to create dev_recovery_image.bin using dev install shim (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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mod_image_for_dev_recovery.sh
diff --git a/mod_image_for_dev_recovery.sh b/mod_image_for_dev_recovery.sh
index 9c68b1e323ebd7fe4353c04aab13b33590faf9bb..2a1108ae51de0681758d62c327f162a95b4fe817 100755
--- a/mod_image_for_dev_recovery.sh
+++ b/mod_image_for_dev_recovery.sh
@@ -93,9 +93,8 @@ create_dev_recovery_image() {
mkdir -p "${temp_mnt}"
sudo mount -o loop=${loop_dev} "${temp_state}" "${temp_mnt}"
trap "umount_from_loop_dev ${temp_mnt} && rm -f \"${temp_state}\"" EXIT
- sudo cp -R "${FLAGS_payload_dir}" "${temp_mnt}"
- sudo mv "${temp_mnt}/$(basename ${FLAGS_payload_dir})" \
- "${temp_mnt}/dev_payload"
+ sudo cp -R "${FLAGS_payload_dir}" "${temp_mnt}/dev_payload"
+
# Mark image as dev recovery
sudo touch "${temp_mnt}/.recovery"
sudo touch "${temp_mnt}/.dev_recovery"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698