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 4 2021, 9:01 PM
Parents
rG50353dbd05a7: Let zfs diff be more permissive
Branches
Unknown
Tags
Unknown

Event Timeline

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