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 #13574
  • Loading branch information
prometheanfire authored and tonyhutter committed Jun 21, 2022
1 parent 403d4bc commit 6e95413
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 @@ -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
Expand Down

0 comments on commit 6e95413

Please sign in to comment.