]> granicus.if.org Git - zfs/commitdiff
Add zfs-import.target services in spec file
authorLalufu <Lalufu@users.noreply.github.com>
Thu, 14 Dec 2017 01:09:22 +0000 (02:09 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 14 Dec 2017 01:09:22 +0000 (17:09 -0800)
Add missing zfs-import.target to list of systemd services in zfs
RPM spec file.

Reviewed-by: Niklas Wagner <Skaro@Skaronator.com>
Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ralf Ertzinger <ralf@skytale.net>
Issue #6953
Closes #6955

rpm/generic/zfs.spec.in

index 0047247b7f98fcdd34824d4da08509229ab74b3c..b37b348eeb57b0e5af99fc6a6488693f332b2cbd 100644 (file)
@@ -222,7 +222,7 @@ image which is ZFS aware.
 %endif
 %if 0%{?_systemd}
     %define systemd --enable-systemd --with-systemdunitdir=%{_unitdir} --with-systemdpresetdir=%{_presetdir} --disable-sysvinit
-    %define systemd_svcs zfs-import-cache.service zfs-import-scan.service zfs-mount.service zfs-share.service zfs-zed.service zfs.target
+    %define systemd_svcs zfs-import-cache.service zfs-import-scan.service zfs-mount.service zfs-share.service zfs-zed.service zfs.target zfs-import.target
 %else
     %define systemd --enable-sysvinit --disable-systemd
 %endif