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 |