]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
dracut: 90zfs: module-setup: try /lib*/libgcc_s.so*, relax /u/l/gcc path
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Sun, 23 May 2021 13:48:26 +0000 (15:48 +0200)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 9 Jun 2021 20:05:34 +0000 (13:05 -0700)
commit998035d534bfa7c827168fc7a7f4bfec504ac5d5
tree303fe11ec341fb33d27f38ac6dd8ee70e9ed09b4
parent64e38df23780fe97b6fa816484b1b17f5d4475c9
dracut: 90zfs: module-setup: try /lib*/libgcc_s.so*, relax /u/l/gcc path

SUSE stores the library at /lib64/libgcc_s.so.1 (/lib/libgcc_s.so.1 for
i686 glibc), which is in the search path

Also relax the /usr/lib path to catch systems similar to SUSE
(/usr/lib64/gcc/x86_64-suse-linux/10/libgcc_s.so) but without
the top-level lib64

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11750
Closes #12108
contrib/dracut/90zfs/module-setup.sh.in