zfs/contrib
Savyasachee Jha 5eae5a88b2 Multiple dracut module install script cleanups
- Replaced intances of `dracut_install` with `inst_simple`
- Removed calls to `test -x mark_hostonly` because the function is an
inbuilt dracut function
- Removed redundant installation of `systemd-ask-password` and
`systemd-tty-ask-password-agent` because they are already installed by
the systemd module. There is no need to install them again
- Removed multiple calls to the `mark_hostonly` function because the
`inst_simple` has a command-line switch for it
- Cleaned up the installation of the `zpool.cache`, `vdev_id.conf` and
`hostid` files to make the logic easier to follow
- Cleaned up and simplified the systemd service installation logic by
invoking systemctl instead of creating symlinks manually
- Replaced various hard-coded paths with dracut equivalents to better
conform with expected dracut behaviour
- Removed redundant call to `mkdir` (`inst_simple` creates the parent
directory if it does not exist on the destination initrd)

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:28:18 -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 Multiple dracut module install script cleanups 2022-02-16 15:28:18 -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