summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Thode <[email protected]>2022-06-21 12:37:20 -0500
committerTony Hutter <[email protected]>2022-06-21 10:53:46 -0700
commit6e954130d4ab1e119935f0187d5bf91fc28e90d6 (patch)
tree4e12d28b15f8b85dff0ac656fdd703cb966d12dc
parent403d4bc66e46b63c2df04ed9bd13c1447121f458 (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-xcontrib/dracut/90zfs/module-setup.sh.in3
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