mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-24 03:51:33 +01:00
Move PAM configuration to /usr at build time
A bunch of packages install PAM configuration fragments in /etc. Rather than modify them all to install into /usr/lib, just move the entire directory at image build time.
This commit is contained in:
parent
391368c100
commit
0bd89d3381
@ -107,6 +107,9 @@ create_prod_image() {
|
||||
L+ /etc/ld.so.conf - - - - ../usr/lib/ld.so.conf
|
||||
EOF
|
||||
|
||||
# Move the PAM configuration into /usr
|
||||
sudo mv ${root_fs_dir}/etc/pam.d ${root_fs_dir}/usr/lib
|
||||
|
||||
finish_image "${image_name}" "${disk_layout}" "${root_fs_dir}" "${image_contents}"
|
||||
|
||||
upload_image -d "${BUILD_DIR}/${image_name}.bz2.DIGESTS" \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user