diff --git a/build_image b/build_image index 722d704f96..9e4df1229f 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