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 bf0fc10 commit ad07517
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 ad07517

Please sign in to comment.