HomeFreeBSD

dracut: 90zfs: module-setup: try /lib*/libgcc_s.so*, relax /u/l/gcc path

Description

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

Details

Provenance
наб <nabijaczleweli@nabijaczleweli.xyz>Authored on May 23 2021, 1:48 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 9 2021, 8:05 PM
Parents
rG64e38df23780: Let zfs diff be more permissive
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG998035d534bf: dracut: 90zfs: module-setup: try /lib*/libgcc_s.so*, relax /u/l/gcc path (authored by наб <nabijaczleweli@nabijaczleweli.xyz>).Jun 9 2021, 8:05 PM