mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 14:41:31 +02: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
1d47a32cc3
commit
6735a6d5c0
@ -45,7 +45,7 @@ extract_prod_gcc() {
|
|||||||
# Instead we extract them to plain old /usr/lib
|
# Instead we extract them to plain old /usr/lib
|
||||||
qtbz2 -O -t "${pkg}" | \
|
qtbz2 -O -t "${pkg}" | \
|
||||||
sudo tar -C "${root_fs_dir}" -xj \
|
sudo tar -C "${root_fs_dir}" -xj \
|
||||||
--transform 's#/usr/lib/.*/#/usr/lib/#' \
|
--transform 's#/usr/lib/.*/#/usr/lib64/#' \
|
||||||
--wildcards './usr/lib/gcc/*.so*'
|
--wildcards './usr/lib/gcc/*.so*'
|
||||||
|
|
||||||
package_provided "${gcc}"
|
package_provided "${gcc}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user