mirror of
https://github.com/flatcar/scripts.git
synced 2026-01-22 08:52:15 +01:00
prod_image_util: extract gcc libs to /usr/lib64
This made no difference back when lib was a symlink to lib64, but now that they are separate, libs belongs in /usr/lib64. This mostly doesn't show up because ldconfig configures the ld.so cache to include both locations, but when updating from an older release ld.so.cache is out of date. Unfortunately ld.so.cache does not get updated until after multipathd, which causes multipathd to dump core. This may also affect other packages that need access to libgcc early. See also: https://github.com/flatcar-linux/Flatcar/issues/809
This commit is contained in:
parent
45c8c9af17
commit
a76fd410f6
@ -45,7 +45,7 @@ extract_prod_gcc() {
|
||||
# Instead we extract them to plain old /usr/lib
|
||||
qtbz2 -O -t "${pkg}" | \
|
||||
sudo tar -C "${root_fs_dir}" -xj \
|
||||
--transform 's#/usr/lib/.*/#/usr/lib/#' \
|
||||
--transform 's#/usr/lib/.*/#/usr/lib64/#' \
|
||||
--wildcards './usr/lib/gcc/*.so*'
|
||||
|
||||
package_provided "${gcc}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user