]> 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)
committerTony Hutter <hutter2@llnl.gov>
Mon, 18 Dec 2017 17:45:01 +0000 (09:45 -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 be883d5b0db552005cce6fede4af848c1b0b5738..666e51b4bacc02d150bfd90575118d4749dc8f3c 100644 (file)
@@ -220,7 +220,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