Index: mod_image_for_recovery.sh |
diff --git a/mod_image_for_recovery.sh b/mod_image_for_recovery.sh |
index 7d4066a86c2a34e6572241e441da892deebdda74..4b5f37fc63c95e726d8eb6c823fa2ddb5d6de174 100755 |
--- a/mod_image_for_recovery.sh |
+++ b/mod_image_for_recovery.sh |
@@ -84,4 +84,9 @@ DST_PATH="${IMAGE_DIR}/${RECOVERY_IMAGE}" |
echo "Making a copy of original image ${FLAGS_image}" |
cp $FLAGS_image $DST_PATH |
update_recovery_packages $DST_PATH |
+ |
+# Now make it bootable with the flags from build_image |
+${SCRIPTS_DIR}/bin/cros_make_image_bootable "${IMAGE_DIR}" \ |
+ "${RECOVERY_IMAGE}" |
+ |
echo "Recovery image created at ${DST_PATH}" |