mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 15:41:04 +02:00
prod_image_util: update /etc/ld.so.conf on every boot
Early images created this as a file instead of a symlink, these systems will not be able to find the new GCC libraries using the older config.
This commit is contained in:
parent
1de8eb3b11
commit
5377e7870d
@ -67,7 +67,7 @@ create_prod_image() {
|
||||
# Add a tmpfiles rule that symlink ld.so.conf from /usr into /
|
||||
sudo tee "${root_fs_dir}/usr/lib64/tmpfiles.d/baselayout-ldso.conf" \
|
||||
> /dev/null <<EOF
|
||||
L /etc/ld.so.conf - - - - ../usr/lib/ld.so.conf
|
||||
L+ /etc/ld.so.conf - - - - ../usr/lib/ld.so.conf
|
||||
EOF
|
||||
|
||||
# clear them out explicitly, so this fails if something else gets dropped
|
||||
|
Loading…
x
Reference in New Issue
Block a user