Skip to content

Commit

Permalink
Remove install of zfs-load-module.service for dracut
Browse files Browse the repository at this point in the history
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 openzfs#13574
  • Loading branch information
prometheanfire authored and andrewc12 committed Sep 23, 2022
1 parent 32b1394 commit 95a9b41
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contrib/dracut/90zfs/module-setup.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,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
Expand Down

0 comments on commit 95a9b41

Please sign in to comment.