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

Unified Diff: mod_image_for_dev_recovery.sh

Issue 3066037: build_image, mod_image_for_*: break out make_image_bootable (Closed) Base URL: http://src.chromium.org/git/crosutils.git
Patch Set: fix nits; move to boot.desc and bin/cros_ Created 10 years, 4 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') | mod_image_for_recovery.sh » ('j') | 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 d984520aa0a974f26760f49b33eeacf4e4a92216..5b872476da3fb0228d2e351de655dd35b5985a43 100755
--- a/mod_image_for_dev_recovery.sh
+++ b/mod_image_for_dev_recovery.sh
@@ -168,5 +168,10 @@ DST_PATH="${INSTALL_SHIM_DIR}/${DEV_RECOVERY_IMAGE}"
info "Attempting to create dev recovery image using dev install shim \
${FLAGS_dev_install_shim}"
create_dev_recovery_image
+
+# Now make it bootable with the flags from build_image
+${SCRIPTS_DIR}/bin/cros_make_image_bootable $(dirname ${TEMP_IMG}) \
+ $(basename ${TEMP_IMG})
+
mv -f $TEMP_IMG $DST_PATH
info "Dev recovery image created at ${DST_PATH}"
« no previous file with comments | « build_image ('k') | mod_image_for_recovery.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698