- Install log dir for libxl

f7e9b448-libxl-build.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=114
This commit is contained in:
James Fehlig 2011-04-11 22:52:27 +00:00 committed by Git OBS Bridge
parent 701f14656c
commit 0f3580e2a8
3 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,28 @@
commit f7e9b44812b3d3d8b16952d344eda187cb174c82
Author: Jim Fehlig <jfehlig@novell.com>
Date: Thu Apr 7 16:01:58 2011 -0600
build: Install libxenlight log dir
Add $localstatedir/log/libvirt/libxl when building libxenlight driver
diff --git a/src/Makefile.am b/src/Makefile.am
index 9b54679..3649106 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1275,6 +1275,7 @@ endif
if WITH_LIBXL
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/libxl"
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/run/libvirt/libxl"
+ $(MKDIR_P) "$(DESTDIR)$(localstatedir)/log/libvirt/libxl"
endif
if WITH_UML
$(MKDIR_P) "$(DESTDIR)$(localstatedir)/lib/libvirt/uml"
@@ -1316,6 +1317,7 @@ endif
if WITH_LIBXL
rmdir "$(DESTDIR)$(localstatedir)/lib/libvirt/libxl" ||:
rmdir "$(DESTDIR)$(localstatedir)/run/libvirt/libxl" ||:
+ rmdir "$(DESTDIR)$(localstatedir)/log/libvirt/libxl" ||:
endif
if WITH_UML
rmdir "$(DESTDIR)$(localstatedir)/lib/libvirt/uml" ||:

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 11 16:48:48 MDT 2011 - jfehlig@suse.de
- Install log dir for libxl
f7e9b448-libxl-build.patch
-------------------------------------------------------------------
Mon Apr 4 16:02:23 MDT 2011 - jfehlig@novell.com

View File

@ -330,6 +330,7 @@ Recommends: device-mapper
Source0: %{name}-%{version}.tar.bz2
Source1: libvirtd.init
# Upstream patches
Patch0: f7e9b448-libxl-build.patch
# Need to go upstream
Patch100: xen-name-for-devid.patch
Patch101: clone.patch
@ -445,6 +446,7 @@ Authors:
%prep
%setup -q
%patch0 -p1
%patch100 -p1
%patch101
%patch102 -p1
@ -751,7 +753,7 @@ fi
%endif
%if %{with_libxl}
%dir %attr(0700, root, root) %{_localstatedir}/lib/libvirt/libxl/
#%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
%dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/libxl/
%endif
%if %{with_storage_disk}
%{_libdir}/%{name}/libvirt_parthelper