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

Unified Diff: build_image

Issue 3351016: Install make.globals and create make.profile directory (Closed) Base URL: ssh://gitrw.chromium.org/crosutils.git
Patch Set: Add braces as per David Created 10 years, 3 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: build_image
diff --git a/build_image b/build_image
index b4a6f1ac62add3154243086d7f6349c9acbafc23..0aa713f9642598ce2ecff0033fb9c095f547df94 100755
--- a/build_image
+++ b/build_image
@@ -395,6 +395,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}"
« 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