[libvirt] [PATCH] libxl: missing directory creation for logs

Daniel Veillard veillard at redhat.com
Fri Apr 8 07:19:47 UTC 2011


 Libvirt-0.9.0 wasn't building for Fedora 16, the spec file referenced
a log directory missing in teh install tree. After checking that the
code actually needed that directory, the following patch solves the
problem,

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/
-------------- next part --------------
diff --git a/src/Makefile.am b/src/Makefile.am
index 9b54679..099f21a 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"


More information about the libvir-list mailing list