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 <behlendorf1@llnl.gov>
Signed-off-by: Matthew Thode <mthode@mthode.org>
Closes openzfs#13574
  • Loading branch information
prometheanfire authored and nicman23 committed Aug 22, 2022
1 parent 32decd5 commit f01bc39
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 f01bc39

Please sign in to comment.