From 5e7a52f6b2a6d84687ec1cb0967fdbcea29dbc6b Mon Sep 17 00:00:00 2001 From: Tan Gao Date: Thu, 5 Aug 2010 17:25:54 -0700 Subject: [PATCH] remove unnecessary call to make_image_bootable for dev recovery Change-Id: I43f88cbe4df74e254299a95c5e1b62a300230385 Undo part of commit by drewry http://chromiumos-git/?p=crosutils.git;a=commit;h=7ab698d713bcad066f0ee0469fbbcaa274411d08 mod_image_for_dev_recovery.sh modifies a dev install shim image (already bootable) by altering content of its stateful partition. The result image does NOT need to be made bootable again. TEST=manually built a dev recovery image (based on a factory install shim) and verified recovery functionality on agz device with cros fw Review URL: http://codereview.chromium.org/3074037 --- mod_image_for_dev_recovery.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/mod_image_for_dev_recovery.sh b/mod_image_for_dev_recovery.sh index 5b872476da..1a13047ea4 100755 --- a/mod_image_for_dev_recovery.sh +++ b/mod_image_for_dev_recovery.sh @@ -169,9 +169,5 @@ 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}"