Merge pull request #391 from flatcar-linux/scripts

prod_image_util: extract gcc libs to /usr/lib64
This commit is contained in:
Jeremi Piotrowski 2022-07-27 11:28:01 +02:00
commit bc271dc7fa

View File

@ -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}"