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

Unified Diff: src/scripts/build_image.sh

Issue 554031: Various image build improvements for ARM (Closed)
Patch Set: rebase on master; more consistent option names Created 10 years, 11 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/install_packages.sh » ('j') | src/scripts/install_packages.sh » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/scripts/build_image.sh
diff --git a/src/scripts/build_image.sh b/src/scripts/build_image.sh
index d2773d67a7c103ff8eb56de66536967e54780728..6c6f9bc2be87c3a04766e088a68e0d1763826c64 100755
--- a/src/scripts/build_image.sh
+++ b/src/scripts/build_image.sh
@@ -33,8 +33,12 @@ DEFINE_boolean replace $FLAGS_FALSE "Overwrite existing output, if any."
DEFINE_boolean increment $FLAGS_FALSE \
"Picks the latest build and increments the minor version by one."
+DEFINE_string arch "x86" \
+ "The target architecture to build for. One of { x86, armel }."
DEFINE_string mirror "$DEFAULT_IMG_MIRROR" "Repository mirror to use."
DEFINE_string suite "$DEFAULT_IMG_SUITE" "Repository suite to base image on."
+DEFINE_string mirror2 "" "Additional repository mirror to use (URL only)."
+DEFINE_string suite2 "" "Repository suite for additional mirror."
DEFINE_string pkglist "$DEFAULT_PKGLIST" \
"Name of file listing packages to install from repository."
DEFINE_boolean with_dev_pkgs $FLAGS_TRUE \
@@ -128,8 +132,11 @@ fi
--root="$ROOT_FS_DIR" \
--output_dir="${OUTPUT_DIR}" \
--package_list="$PKGLIST" \
+ --arch="$FLAGS_arch" \
--mirror="$FLAGS_mirror" \
- --suite="$FLAGS_suite"
+ --suite="$FLAGS_suite" \
+ --mirror2="$FLAGS_mirror2" \
+ --suite2="$FLAGS_suite2"
"${SCRIPTS_DIR}/customize_rootfs.sh" --root="${ROOT_FS_DIR}"
« no previous file with comments | « no previous file | src/scripts/install_packages.sh » ('j') | src/scripts/install_packages.sh » ('J')

Powered by Google App Engine
This is Rietveld 408576698