[packages/open-iscsi] - fix files for building without systemd
hawk
hawk at pld-linux.org
Thu Feb 20 22:54:54 CET 2025
commit 9713173856daa52bbb2c07a3116b6a046728a7b7
Author: Marcin Krol <hawk at tld-linux.org>
Date: Thu Feb 20 22:53:11 2025 +0100
- fix files for building without systemd
open-iscsi.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/open-iscsi.spec b/open-iscsi.spec
index 91b7dae..aedfc48 100644
--- a/open-iscsi.spec
+++ b/open-iscsi.spec
@@ -255,6 +255,7 @@ fi
%attr(754,root,root) /etc/rc.d/init.d/iscsi
%attr(754,root,root) /etc/rc.d/init.d/iscsid
/lib/udev/rules.d/50-iscsi-firmware-login.rules
+%if %{with systemd}
%{systemdunitdir}/iscsi.service
%{systemdunitdir}/iscsi-init.service
%{systemdunitdir}/iscsi-onboot.service
@@ -266,6 +267,7 @@ fi
%{systemdunitdir}/iscsiuio.socket
%attr(755,root,root) /lib/systemd/pld-helpers.d/iscsi-mark-root-nodes
%attr(755,root,root) /lib/systemd/system-generators/ibft-rule-generator
+%endif
%{systemdtmpfilesdir}/open-iscsi.conf
%attr(755,root,root) %{_sbindir}/brcm_iscsiuio
%attr(755,root,root) %{_sbindir}/iscsi-gen-initiatorname
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/open-iscsi.git/commitdiff/9713173856daa52bbb2c07a3116b6a046728a7b7
More information about the pld-cvs-commit
mailing list