Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: src/scripts/build_image

Issue 1694021: Add --bootargs option to build_image. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Change command line parameter name. Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/scripts/build_gpt.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_image
diff --git a/src/scripts/build_image b/src/scripts/build_image
index a7f2366382ca796e7523b1cfd09a187b86f7e500..65a50400b509df8d03d764f5a06950382481c682 100755
--- a/src/scripts/build_image
+++ b/src/scripts/build_image
@@ -43,6 +43,8 @@ DEFINE_boolean withtest $FLAGS_FALSE \
"Include packages required for testing and prepare image for testing"
DEFINE_string factory_server "" \
"Build a factory install image pointing to given server."
+DEFINE_string arm_extra_bootargs "" \
+ "Additional command line options to pass to the ARM kernel."
# Parse command line.
FLAGS "$@" || exit 1
@@ -422,7 +424,11 @@ cleanup
# Create the GPT-formatted image
${SCRIPTS_DIR}/build_gpt.sh \
- --arch=${ARCH} --board=${FLAGS_board} "${OUTPUT_DIR}" "${OUTPUT_IMG}"
+ --arch=${ARCH} \
+ --board=${FLAGS_board} \
+ --arm_extra_bootargs="${FLAGS_arm_extra_bootargs}" \
+ "${OUTPUT_DIR}" \
+ "${OUTPUT_IMG}"
# Clean up temporary files.
rm -f "${ROOT_FS_IMG}" "${STATEFUL_IMG}" "${OUTPUT_DIR}/vmlinuz.image" \
« no previous file with comments | « src/scripts/build_gpt.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698