From 12973e562d53ae994d6b103b02f62f05636bcc57 Mon Sep 17 00:00:00 2001 From: Paul Stewart Date: Thu, 9 Sep 2010 20:04:11 -0700 Subject: [PATCH] Install make.globals and create make.profile directory Some mod_for_test images don't have the files necessary to run emerge. Install them. BUG=none TEST=Rerun package install Review URL: http://codereview.chromium.org/3351016 --- build_image | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build_image b/build_image index 776b1670d3..5bf830f6be 100755 --- a/build_image +++ b/build_image @@ -402,6 +402,10 @@ update_dev_packages() { --usepkgonly --depclean ${EMERGE_JOBS} fi + # Install the bare necessary files so that the "emerge" command works + sudo cp ${root_dev_dir}/etc/make.globals ${ROOT_FS_DIR}/etc/ + sudo mkdir -p ${ROOT_FS_DIR}/etc/make.profile + # Re-run ldconfig to fix /etc/ldconfig.so.cache. sudo /sbin/ldconfig -r "${ROOT_FS_DIR}"