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

Unified Diff: build_image

Issue 6583001: Update build_image to link to make.globals directly, instead of to directory. (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Typo fix Created 9 years, 10 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 0f0d2bec98fd5735a34cc9a4e25f1bc7c6fc7f55..ea0000ef99e5da0c5fcb72e173542918cc46abc9 100755
--- a/build_image
+++ b/build_image
@@ -444,9 +444,9 @@ update_dev_packages() {
# Install the bare necessary files so that the "emerge" command works
if [ ${FLAGS_statefuldev} -eq ${FLAGS_TRUE} ]; then
- sudo ln -sft ${ROOT_FS_DIR}/usr/share ../../usr/local/share/portage
+ sudo cp -a ${root_dev_dir}/share/portage ${ROOT_FS_DIR}/usr/share
sudo sed -i s,/usr/bin/wget,wget, \
- ${root_dev_dir}/share/portage/config/make.globals
+ ${ROOT_FS_DIR}/usr/share/portage/config/make.globals
fi
sudo mkdir -p ${ROOT_FS_DIR}/etc/make.profile
« 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