From 10fa4b5a0cdc8734f03c33041783ec0b57e261e4 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Mon, 29 Feb 2016 18:54:09 -0800 Subject: [PATCH] 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... :( --- build_library/prod_image_util.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build_library/prod_image_util.sh b/build_library/prod_image_util.sh index 7eb519efc6..6bf1755c8d 100755 --- a/build_library/prod_image_util.sh +++ b/build_library/prod_image_util.sh @@ -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