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

Unified Diff: src/scripts/build_image

Issue 2074019: Teach build_image to pull from buildbot as necessary when the package is unavailable locally. (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 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 | 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 0ba6531200fd7968216c4ce067957c4d90a34ddb..fbad19a4d39cfc1455b83fc10cd97d1c84b8f9d2 100755
--- a/src/scripts/build_image
+++ b/src/scripts/build_image
@@ -207,7 +207,7 @@ create_developer_image() {
# Install developer packages described in chromeos-dev.
sudo INSTALL_MASK="$INSTALL_MASK" emerge-${BOARD} \
--root="$root_dev_dir" --root-deps=rdeps \
- --usepkgonly chromeos-dev $EMERGE_JOBS
+ --getbinpkg --usepkg chromeos-dev $EMERGE_JOBS
Nasser Grainawi 2010/05/21 15:44:10 Isn't this redundant? From 'man emerge': --getbinp
# Re-run ldconfig to fix /etc/ldconfig.so.cache.
sudo /sbin/ldconfig -r "$root_fs_dir"
@@ -378,7 +378,7 @@ sudo mount --bind "${STATEFUL_DIR}/var" "${ROOT_FS_DIR}/var"
# image size as much as possible.
sudo INSTALL_MASK="$INSTALL_MASK" emerge-${BOARD} \
--root="$ROOT_FS_DIR" --root-deps=rdeps \
- --usepkgonly chromeos $EMERGE_JOBS
+ --getbinpkg --usepkg chromeos $EMERGE_JOBS
# 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 | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698