From 6793ba78ca1db5d0fdcae3f56f34307c0080a022 Mon Sep 17 00:00:00 2001 From: Will Drewry Date: Thu, 5 Aug 2010 16:17:46 -0500 Subject: [PATCH] build_image,cros_make_image_bootable: fix missing arm argument Adds arm_extra_bootargs to boot.desc and to cros_make_image_bootable. TEST=tegra2 dev-board build_packages, build_image --fast worked BUG=broken tree Change-Id: Ifdfeda66f1eb5e5b1e618706eeba269f31fa9913 Review URL: http://codereview.chromium.org/3069031 --- bin/cros_make_image_bootable | 3 +++ build_image | 1 + 2 files changed, 4 insertions(+) diff --git a/bin/cros_make_image_bootable b/bin/cros_make_image_bootable index a7a58b9ac6..01c41fab52 100755 --- a/bin/cros_make_image_bootable +++ b/bin/cros_make_image_bootable @@ -80,6 +80,9 @@ DEFINE_integer verity_max_ios 1024 \ DEFINE_string verity_algorithm "sha1" \ "Cryptographic hash algorithm used for kernel vboot." +DEFINE_string arm_extra_bootargs "" \ + "Additional command line options to pass to the ARM kernel." + DEFINE_string keys_dir "/usr/share/vboot/devkeys" \ "Directory containing the signing keys." diff --git a/build_image b/build_image index 4a19a6e004..a1b162400c 100755 --- a/build_image +++ b/build_image @@ -304,6 +304,7 @@ create_boot_desc() { --verity_algorithm="${FLAGS_verity_algorithm}" --keys_dir="${DEVKEYSDIR}" --usb_disk="${FLAGS_usb_disk}" + --arm_extra_bootargs="${FLAGS_arm_extra_bootargs}" --nocleanup_dirs ${enable_rootfs_verification_flag} EOF