[packages/xen] More tmpfiles

jajcus jajcus at pld-linux.org
Sat Nov 17 14:34:38 CET 2012


commit 5c00ee359d1265f322edb5ac2cf308963cd90c18
Author: Jacek Konieczny <jajcus at jajcus.net>
Date:   Sat Nov 17 12:38:56 2012 +0100

    More tmpfiles

 xen.spec     | 3 +++
 xen.tmpfiles | 2 ++
 2 files changed, 5 insertions(+)
---
diff --git a/xen.spec b/xen.spec
index be187f2..5fc06de 100644
--- a/xen.spec
+++ b/xen.spec
@@ -72,6 +72,7 @@ Source52:	xenstored.init
 Source53:	xen-watchdog.init
 Source54:	xendomains.init
 Source55:	xen.logrotate
+Source56:	xen.tmpfiles
 Patch0:		%{name}-python_scripts.patch
 Patch1:		%{name}-symbols.patch
 Patch2:		%{name}-curses.patch
@@ -447,6 +448,7 @@ install %{SOURCE52} $RPM_BUILD_ROOT/etc/rc.d/init.d/xenstored
 install %{SOURCE53} $RPM_BUILD_ROOT/etc/rc.d/init.d/xen-watchdog
 install %{SOURCE54} $RPM_BUILD_ROOT/etc/rc.d/init.d/xendomains
 install %{SOURCE55} $RPM_BUILD_ROOT/etc/logrotate.d/xen
+install %{SOURCE56} $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/xen.conf
 
 mv $RPM_BUILD_ROOT/etc/xen/{x{m,l}example*,examples}
 
@@ -626,6 +628,7 @@ fi
 %{_sharedstatedir}/xenstored
 %dir /var/run/xenstored
 %{systemdtmpfilesdir}/xenstored.conf
+%{systemdtmpfilesdir}/xen.conf
 %dir %attr(0700,root,root) /var/log/xen
 %dir %attr(0700,root,root) /var/log/xen/console
 %{_datadir}/qemu-xen
diff --git a/xen.tmpfiles b/xen.tmpfiles
new file mode 100644
index 0000000..43bf90c
--- /dev/null
+++ b/xen.tmpfiles
@@ -0,0 +1,2 @@
+D /var/run/xen 0700 root root -
+D /var/run/xen-hotplug 0700 root root -
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/xen.git/commitdiff/291689a11152f9ea4bb81d2b0549fd0a5fedd10a



More information about the pld-cvs-commit mailing list