[packages/ganeti] - create directory for guest OS definitions

baggins baggins at pld-linux.org
Fri Nov 1 13:11:24 CET 2013


commit 3926baa302a5e1f8d38a339a81d70307a6fc0f51
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Nov 1 13:11:06 2013 +0100

    - create directory for guest OS definitions

 ganeti.spec | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/ganeti.spec b/ganeti.spec
index 71909f7..b54bed8 100644
--- a/ganeti.spec
+++ b/ganeti.spec
@@ -144,6 +144,8 @@ install -d $RPM_BUILD_ROOT{%{systemdunitdir},%{systemdtmpfilesdir}} \
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install -d $RPM_BUILD_ROOT%{_datadir}/ganeti/os
+
 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/ganeti.conf
 install -p %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-confd
 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/ganeti-masterd
@@ -221,6 +223,8 @@ fi
 %{systemdunitdir}/ganeti-rapi.service
 %{systemdtmpfilesdir}/ganeti.conf
 /etc/cron.d/ganeti
+%dir %{_datadir}/ganeti
+%dir %{_datadir}/ganeti/os
 %dir %{_libdir}/ganeti
 %{_libdir}/ganeti/check-cert-expired
 %{_libdir}/ganeti/daemon-util
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ganeti.git/commitdiff/3926baa302a5e1f8d38a339a81d70307a6fc0f51



More information about the pld-cvs-commit mailing list