From 049c0520c5882ff706e8c72f3b242c14c91e09a8 Mon Sep 17 00:00:00 2001 From: Arkaitz Ruiz Alvarez Date: Thu, 7 Jul 2011 15:47:31 -0700 Subject: [PATCH] Fix test imgs made by mod_image_for_test boot args By default, "cros_debug" should be included in the kernel commandline for developer and test images. This change adds "cros_debug" to the kernel commandline for test images when using the deprecated mod_image_for_test.sh and syncs this file with previous change to build_image: http://gerrit.chromium.org/gerrit/#change,3790 TEST=Use mod_image_for_test.sh to create a test image, boot it and check /proc/cmdline for "cros_debug". BUG=chromium-os:17393 Change-Id: I7774dec80707f702036eff0f6277837858b64182 Reviewed-on: http://gerrit.chromium.org/gerrit/3897 Reviewed-by: Chris Sosa Tested-by: Arkaitz Ruiz Alvarez --- mod_image_for_test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mod_image_for_test.sh b/mod_image_for_test.sh index fb0bc47790..cfc8cf0e5b 100755 --- a/mod_image_for_test.sh +++ b/mod_image_for_test.sh @@ -289,7 +289,8 @@ cleanup # Now make it bootable with the flags from build_image "$SCRIPTS_DIR/bin/cros_make_image_bootable" "$(dirname "$FLAGS_image")" \ "$(basename "$FLAGS_image")" \ - ${crosbug12352_flag} + ${crosbug12352_flag} \ + --force_developer_mode print_time_elapsed