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

Unified Diff: src/platform/installer/chromeos-common.sh

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 | « no previous file | src/scripts/build_gpt.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/installer/chromeos-common.sh
diff --git a/src/platform/installer/chromeos-common.sh b/src/platform/installer/chromeos-common.sh
index 347ec3ef2b752a433aeefde6734fe7ba7cfa0312..c26c42d3a2fcff94714fdd1327d59ac50889bf10 100644
--- a/src/platform/installer/chromeos-common.sh
+++ b/src/platform/installer/chromeos-common.sh
@@ -461,12 +461,14 @@ make_arm_mbr() {
local KERNEL_OFFSET=$(printf "0x%08x" ${1})
local KERNEL_SECS_HEX=$(printf "0x%08x" ${2})
local DEVICE=${3}
+ local EXTRA_BOOTARGS=${4}
BOOTARGS="root=/dev/mmcblk${DEVICE}p3"
BOOTARGS="${BOOTARGS} init=/sbin/init"
BOOTARGS="${BOOTARGS} console=ttySAC2,115200"
BOOTARGS="${BOOTARGS} mem=1024M"
BOOTARGS="${BOOTARGS} rootwait"
+ BOOTARGS="${BOOTARGS} ${EXTRA_BOOTARGS}"
MBR_SCRIPT="/var/tmp/mbr_script"
echo -e "echo\necho ---- ChromeOS Boot ----\necho\n" \
« no previous file with comments | « no previous file | src/scripts/build_gpt.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698