mirror_zfs/contrib
Savyasachee Jha 44b0380a35 Make better use of dracut functions when building initramfs
Setting up the module involves multiple redundant calls to a bunch of
dracut functions wheich can be combined into one. Additionally, the mass
of code required to load libgcc_s.so* can be replaced with one dracut
function. This has the additional effect of removing errors involving
the non-installation of libgcc_s.so* which are seen on debian bullseye
when using version 2.1.2-1~bpo11+1 from the backports repository.

The systemd binaries are separated out into their own `dracut_install`
function call so they do not get pulled in when dracut does not load the
systemd module.

Reviewed-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Reviewed-by: Andrew J. Hesford <ajh@sideband.org>
Signed-off-by: Savyasachee Jha <hi@savyasacheejha.com>
Closes #13010
2022-02-16 15:23:30 -08:00
..
bash_completion.d Add --enable=all to ShellCheck by default 2022-02-07 11:59:09 -08:00
bpftrace Add --enable=all to ShellCheck by default 2022-02-07 11:59:09 -08:00
dracut Make better use of dracut functions when building initramfs 2022-02-16 15:23:30 -08:00
initramfs contrib: rename initrd READMEs to README.md 2022-02-11 11:44:27 -08:00
intel_qat Add intel_QAT patches 2020-09-30 13:17:30 -07:00
pam_zfs_key Revert "zfs list: Allow more fields in ZFS_ITER_SIMPLE mode" 2022-01-06 11:12:53 -08:00
pyzfs Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am Add --enable=all to ShellCheck by default 2022-02-07 11:59:09 -08:00