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 <behlendorf1@llnl.gov> Signed-off-by: Matthew Thode <mthode@mthode.org> Closes #13574
This commit is contained in:
parent
403d4bc66e
commit
6e954130d4
|
@ -86,8 +86,7 @@ install() {
|
||||||
|
|
||||||
for _service in \
|
for _service in \
|
||||||
"zfs-import-scan.service" \
|
"zfs-import-scan.service" \
|
||||||
"zfs-import-cache.service" \
|
"zfs-import-cache.service"; do
|
||||||
"zfs-load-module.service"; do
|
|
||||||
inst_simple "${systemdsystemunitdir}/${_service}"
|
inst_simple "${systemdsystemunitdir}/${_service}"
|
||||||
systemctl -q --root "${initdir}" add-wants zfs-import.target "${_service}"
|
systemctl -q --root "${initdir}" add-wants zfs-import.target "${_service}"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in New Issue