335a519863
Use iscsi-initiator-utils-config package to package config and service file for iscsi-initiator-utils package. Deployment test and ping test between WMs pass Config and service files check pass. Story: 2003768 Task: 27596 Change-Id: I6512171f1c9186018c0af15b15e7d2094e3d7a73 Signed-off-by: zhipengl <zhipengs.liu@intel.com>
49 lines
1.6 KiB
Diff
49 lines
1.6 KiB
Diff
From 5a1612476a2b2a4783b5a1bd0f5493b3b3974ecb Mon Sep 17 00:00:00 2001
|
|
From: Scott Little <scott.little@windriver.com>
|
|
Date: Mon, 2 Oct 2017 16:19:19 -0400
|
|
Subject: [PATCH 1/2] WRS: spec-include-TiS-changes.patch
|
|
|
|
---
|
|
SPECS/iscsi-initiator-utils.spec | 30 +++++++++++++++++++++---------
|
|
1 file changed, 21 insertions(+), 9 deletions(-)
|
|
|
|
diff --git a/SPECS/iscsi-initiator-utils.spec b/SPECS/iscsi-initiator-utils.spec
|
|
index a7bd696..847f95c 100644
|
|
--- a/SPECS/iscsi-initiator-utils.spec
|
|
+++ b/SPECS/iscsi-initiator-utils.spec
|
|
@@ -232,13 +241,13 @@ fi
|
|
|
|
%files
|
|
%doc README
|
|
-%dir %{_sharedstatedir}/iscsi
|
|
-%dir %{_sharedstatedir}/iscsi/nodes
|
|
-%dir %{_sharedstatedir}/iscsi/isns
|
|
-%dir %{_sharedstatedir}/iscsi/static
|
|
-%dir %{_sharedstatedir}/iscsi/slp
|
|
-%dir %{_sharedstatedir}/iscsi/ifaces
|
|
-%dir %{_sharedstatedir}/iscsi/send_targets
|
|
+%ghost %{_sharedstatedir}/iscsi
|
|
+%ghost %{_sharedstatedir}/iscsi/nodes
|
|
+%ghost %{_sharedstatedir}/iscsi/isns
|
|
+%ghost %{_sharedstatedir}/iscsi/static
|
|
+%ghost %{_sharedstatedir}/iscsi/slp
|
|
+%ghost %{_sharedstatedir}/iscsi/ifaces
|
|
+%ghost %{_sharedstatedir}/iscsi/send_targets
|
|
%ghost %{_var}/lock/iscsi
|
|
%ghost %{_var}/lock/iscsi/lock
|
|
%{_unitdir}/iscsi.service
|
|
@@ -248,8 +257,8 @@ fi
|
|
%{_libexecdir}/iscsi-mark-root-nodes
|
|
%{_sysconfdir}/NetworkManager/dispatcher.d/04-iscsi
|
|
%{_tmpfilesdir}/iscsi.conf
|
|
-%dir %{_sysconfdir}/iscsi
|
|
-%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/iscsi/iscsid.conf
|
|
+%attr(0750,root,root) %dir %{_sysconfdir}/iscsi
|
|
+%attr(0640,root,root) %config(noreplace) %{_sysconfdir}/iscsi/iscsid.conf
|
|
%{_sbindir}/iscsi-iname
|
|
%{_sbindir}/iscsiadm
|
|
%{_sbindir}/iscsid
|
|
--
|
|
2.7.4
|
|
|