Change in vdsm[master]: test

shaohef at linux.vnet.ibm.com shaohef at linux.vnet.ibm.com
Tue Oct 23 10:02:08 UTC 2012


ShaoHe Feng has uploaded a new change for review.

Change subject: test
......................................................................

test

Change-Id: Ib21db9c7850f68e532b00cdd52d3c726015fa265
Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
---
M vdsm.spec.in
1 file changed, 10 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/39/8739/1

diff --git a/vdsm.spec.in b/vdsm.spec.in
index f61a36a..d532439 100644
--- a/vdsm.spec.in
+++ b/vdsm.spec.in
@@ -461,6 +461,16 @@
 fi
 
 %post
+# make soft link of conf sample
+echo "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
+echo "%docdir/%{vdsm_name}-%{version}"
+echo "%{buildroot}%{_sysconfdir}"
+echo "---------------------------------------------------------"
+if [ -f %docdir/%{vdsm_name}-%{version}/vdsm.conf.sample ]; then
+    ln -s %docdir/%{vdsm_name}-%{version}/vdsm.conf.sample \
+           %{buildroot}%{_sysconfdir}/vdsm/vdsm.conf.sample
+fi
+
 # set the vdsm "secret" password for libvirt
 %{_bindir}/vdsm-tool set-saslpasswd
 


--
To view, visit http://gerrit.ovirt.org/8739
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib21db9c7850f68e532b00cdd52d3c726015fa265
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: ShaoHe Feng <shaohef at linux.vnet.ibm.com>


More information about the vdsm-patches mailing list