[ofa-general] [PATCH] opensm/opensm.spec: install scripts/sldd.sh

Sasha Khapyorsky sashak at voltaire.com
Thu Jan 24 09:41:27 PST 2008


It is used in startup script when HONORE_GUID2LID is enabled.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/opensm.spec.in |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/opensm/opensm.spec.in b/opensm/opensm.spec.in
index cde005f..72c8eba 100644
--- a/opensm/opensm.spec.in
+++ b/opensm/opensm.spec.in
@@ -98,6 +98,7 @@ mkdir -p $etc/{init.d,ofa,logrotate.d}
 install -m 755 scripts/${REDHAT}opensm.init $etc/init.d/opensm
 install -m 644 scripts/opensm.conf $etc/ofa/opensm.conf
 install -m 644 scripts/opensm.logrotate $etc/logrotate.d/opensm
+install -m 755 scripts/sldd.sh $RPM_BUILD_ROOT%{_sbindir}/sldd.sh
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -126,6 +127,7 @@ fi
 %{_mandir}/man8/*
 %doc AUTHORS COPYING README
 %{_sysconfdir}/init.d/opensm
+%{_sbindir}/sldd.sh
 %config(noreplace) %{_sysconfdir}/ofa/opensm.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/opensm
 %dir /var/cache/opensm
-- 
1.5.4.rc2.60.gb2e62




More information about the general mailing list