mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 11:51:14 +02:00
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
This commit is contained in:
parent
6793ba78ca
commit
5e7a52f6b2
@ -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}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user