From 7f2951d99314eafa53fc95a4b58cc474563b887f Mon Sep 17 00:00:00 2001 From: David McMahon Date: Thu, 29 Jul 2010 14:37:06 -0700 Subject: [PATCH] Add do_recovery_mod() to create recovery image Review URL: http://codereview.chromium.org/3020037 --- archive_build.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/archive_build.sh b/archive_build.sh index 1578284260..ad080910b1 100755 --- a/archive_build.sh +++ b/archive_build.sh @@ -159,6 +159,13 @@ then "--factory_install" fi +# Modify for recovery +if [ $FLAGS_official_build -eq $FLAGS_TRUE ] +then + ./enter_chroot.sh -- ./mod_image_for_recovery.sh --board $FLAGS_board \ + --image $FLAGS_from/chromiumos_base_image.bin +fi + # Remove the developer build if test image is also built. if [ $FLAGS_test_mod -eq $FLAGS_TRUE ] ; then rm -f ${SRC_IMAGE}