mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
Merge pull request #507 from marineam/profile
prod_image_util: move profile.env to /usr
This commit is contained in:
commit
8c6407da01
@ -91,6 +91,9 @@ create_prod_image() {
|
||||
sudo rm -rf ${root_fs_dir}/etc/env.d
|
||||
sudo rm -rf ${root_fs_dir}/var/db/pkg
|
||||
|
||||
sudo mv ${root_fs_dir}/etc/profile.env \
|
||||
${root_fs_dir}/usr/share/baselayout/profile.env
|
||||
|
||||
# Move the ld.so configs into /usr so they can be symlinked from /
|
||||
sudo mv ${root_fs_dir}/etc/ld.so.conf ${root_fs_dir}/usr/lib
|
||||
sudo mv ${root_fs_dir}/etc/ld.so.conf.d ${root_fs_dir}/usr/lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user