diff options
author | Matthew Thode <[email protected]> | 2022-06-21 12:37:20 -0500 |
---|---|---|
committer | Tony Hutter <[email protected]> | 2022-06-21 10:53:46 -0700 |
commit | 6e954130d4ab1e119935f0187d5bf91fc28e90d6 (patch) | |
tree | 4e12d28b15f8b85dff0ac656fdd703cb966d12dc | |
parent | 403d4bc66e46b63c2df04ed9bd13c1447121f458 (diff) |
Remove install of zfs-load-module.service for dracut
The zfs-load-module.service service is not currently provided by
the OpenZFS repository so we cannot safely assume it exists.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matthew Thode <[email protected]>
Closes #13574
-rwxr-xr-x | contrib/dracut/90zfs/module-setup.sh.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/dracut/90zfs/module-setup.sh.in b/contrib/dracut/90zfs/module-setup.sh.in index 7c01f125e..178c318e0 100755 --- a/contrib/dracut/90zfs/module-setup.sh.in +++ b/contrib/dracut/90zfs/module-setup.sh.in @@ -86,8 +86,7 @@ install() { for _service in \ "zfs-import-scan.service" \ - "zfs-import-cache.service" \ - "zfs-load-module.service"; do + "zfs-import-cache.service"; do inst_simple "${systemdsystemunitdir}/${_service}" systemctl -q --root "${initdir}" add-wants zfs-import.target "${_service}" done |