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

Unified Diff: build_image

Issue 4959001: scripts: repair build_image nostatefuldev collision (Closed) Base URL: http://git.chromium.org/git/crosutils.git@master
Patch Set: Created 10 years, 1 month 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 f727b7497f3698dce564615dd50101d55c34b5dd..8c5d48a80c474119b7335928089c3f3399325366 100755
--- a/build_image
+++ b/build_image
@@ -415,7 +415,8 @@ update_dev_packages() {
fi
# Install the bare necessary files so that the "emerge" command works
- sudo cp ${root_dev_dir}/etc/make.globals ${ROOT_FS_DIR}/etc/
+ [ ${FLAGS_statefuldev} -eq ${FLAGS_TRUE} ] && \
+ sudo cp ${root_dev_dir}/etc/make.globals ${ROOT_FS_DIR}/etc/
sudo sed -i s,/usr/bin/wget,wget, ${ROOT_FS_DIR}/etc/make.globals
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