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

Unified Diff: src/scripts/build_image

Issue 1945004: Allow factory install shim to be overlay installed (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Allow factory install to be overlayed on an existing image 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/platform/factory_installer/factory_ui.conf ('k') | src/scripts/image_to_usb.sh » ('j') | 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 565e00818fc0da96a5103835e2544021e300080c..88f420d1491dbfbbd436e8cdcf45e2636f2125b6 100755
--- a/src/scripts/build_image
+++ b/src/scripts/build_image
@@ -41,8 +41,6 @@ DEFINE_string to "" \
"The target image file or device"
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."
@@ -337,12 +335,6 @@ if [[ $FLAGS_withdev -eq $FLAGS_TRUE ]] ; then
sudo cp -a "$(which ldd)" "${ROOT_DEV_DIR}/usr/bin"
fi
-if [ -n "$FLAGS_factory_server" ]; then
- sudo INSTALL_MASK="$INSTALL_MASK" emerge-${BOARD} \
- --root="$ROOT_DEV_DIR" --root-deps=rdeps \
- --usepkgonly chromeos-factoryinstall $EMERGE_JOBS
-fi
-
# Install packages required for testing.
if [[ $FLAGS_withtest -eq $FLAGS_TRUE ]] ; then
sudo INSTALL_MASK="$INSTALL_MASK" emerge-${BOARD} \
@@ -355,11 +347,6 @@ EXTRA_CUSTOMIZE_ROOTFS_FLAGS=""
if [ $FLAGS_withdev -eq $FLAGS_TRUE ]; then
EXTRA_CUSTOMIZE_ROOTFS_FLAGS="--withdev"
fi
-if [ -n "$FLAGS_factory_server" ]; then
-# Indentation off b/c of long line
-EXTRA_CUSTOMIZE_ROOTFS_FLAGS="$EXTRA_CUSTOMIZE_ROOTFS_FLAGS"\
-" --factory_server=$FLAGS_factory_server"
-fi
# Extract the kernel from the root filesystem for use by the GPT image. Legacy
# BIOS will use the kernel in the rootfs (via syslinux), Chrome OS BIOS will
« no previous file with comments | « src/platform/factory_installer/factory_ui.conf ('k') | src/scripts/image_to_usb.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698