]> git.proxmox.com Git - mirror_zfs.git/commit
include systemd overrides to zfs-dracut module
authorVince van Oosten <techhazard@codeforyouand.me>
Sun, 23 Oct 2022 08:55:46 +0000 (10:55 +0200)
committerTony Hutter <hutter2@llnl.gov>
Thu, 19 Jan 2023 20:50:42 +0000 (12:50 -0800)
commit596cfb6b15e1ad52f8933272a3e829c252ce346d
tree3c697aa1b7ddfcaddd29b4069226bf3a84a78198
parentf806306ce07e0b0bfe994159ec1c75a2c3281d88
include systemd overrides to zfs-dracut module

If a user that uses systemd and dracut wants to overide certain
settings, they typically use `systemctl edit [unit]` or place a file in
`/etc/systemd/system/[unit].d/override.conf` directly.

The zfs-dracut module did not include those overrides however, so this
did not have any effect at boot time.

For zfs-import-scan.service and zfs-import-cache.service, overrides are
now included in the dracut initramfs image.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Vince van Oosten <techhazard@codeforyouand.me>
Closes #14075
Closes #14076
contrib/dracut/90zfs/module-setup.sh.in