freebsd-nq/contrib/dracut/90zfs
Moritz Maxeiner 70cc394d91 Fix regression that broke dracut initramfs generation
Based upon @ryao's initial fix for 1c73494394fc9de9283b3fd4f00bcdf4bd300a7
( 5e9843405f63fdabe76e87b92b81a127d488abc7 ) this one also uses
`command -v` instead of `type`, but additionally only applies the
fix to close zfsonlinux/zfs#4749 when `libgcc_s.so.1` has not been included
by dracut automatically (verified by whether `zpool` links directly to
`libgcc_s.so`), as well as change the fallback option to match `libgcc_s.so*`.

Tested-by: Ben Jencks <ben@bjencks.net>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Moritz Maxeiner <moritz@ucworks.org>
Closes #5089 
Closed #5138
2016-09-21 13:35:16 -07:00
..
.gitignore A collection of dracut fixes 2016-05-12 14:31:15 -07:00
export-zfs.sh.in Move dracut directory to contrib 2015-07-09 13:59:37 -07:00
Makefile.am Set proper dependency for string replacement targets 2016-08-02 10:28:29 -07:00
module-setup.sh.in Fix regression that broke dracut initramfs generation 2016-09-21 13:35:16 -07:00
mount-zfs.sh.in zfs dracut module should not assume systemd presence 2016-09-09 10:17:27 -07:00
parse-zfs.sh.in Fix the test to use the variable 2016-05-13 20:44:03 -07:00
zfs-generator.sh.in A collection of dracut fixes 2016-05-12 14:31:15 -07:00
zfs-lib.sh.in A collection of dracut fixes 2016-05-12 14:31:15 -07:00