mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 21:46:58 +02:00
Install make.globals and create make.profile directory
Some mod_for_test images don't have the files necessary to run emerge. Install them. BUG=none TEST=Rerun package install Review URL: http://codereview.chromium.org/3351016
This commit is contained in:
parent
bc2aaf67f8
commit
12973e562d
@ -402,6 +402,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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user