mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-28 22:12:10 +01:00
prod_image_util: move profile.env to /usr
profile is already set up to source /usr/share/baselayout/profile.env but it never has because I forgot to add this line during the migration to amd64-usr images. Sure took us a while to notice that one... :(
This commit is contained in:
parent
06485872b0
commit
10fa4b5a0c
@ -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