From 6df5aeeebb3c354e2d8f6bea498127244eec8841 Mon Sep 17 00:00:00 2001 From: Tan Gao Date: Wed, 19 May 2010 14:19:55 -0700 Subject: [PATCH] fix for issue 2610 - add back in RECOVERY variable since we can't specify value "0" in place of boolean flag "--recovery" - for recovery image, make ROOT-B 1GB, KERN-B 16MB and stateful partition 1GB Review URL: http://codereview.chromium.org/2133006 --- build_gpt.sh | 11 ++++++++--- build_image | 8 ++++++++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/build_gpt.sh b/build_gpt.sh index e10a32a55b..fb96b85846 100755 --- a/build_gpt.sh +++ b/build_gpt.sh @@ -23,6 +23,8 @@ DEFINE_string board "$DEFAULT_BOARD" \ "The board to build an image for." DEFINE_string arm_extra_bootargs "" \ "Additional command line options to pass to the ARM kernel." +DEFINE_boolean recovery $FLAGS_FALSE \ + "Build GPT for a recovery image. Default: False." # Usage. FLAGS_HELP=$(cat <