From 2991604b4e362f47999b30c139a54b86546a4f3c Mon Sep 17 00:00:00 2001 From: Anush Elangovan Date: Fri, 21 May 2010 10:09:04 -0700 Subject: [PATCH] Teach build_image to pull from buildbot as necessary when the package is unavailable locally. TEST=./build_package && ./build_image for x86-generic and voguet20 Review URL: http://codereview.chromium.org/2074019 --- build_image | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_image b/build_image index 0ba6531200..fbad19a4d3 100755 --- a/build_image +++ b/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 # 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