[libvirt] [PATCH] build: Install libxenlight log dir

Daniel Veillard veillard at redhat.com
Fri Apr 8 10:44:47 UTC 2011


On Thu, Apr 07, 2011 at 04:13:33PM -0600, Jim Fehlig wrote:
> Add $localstatedir/log/libvirt/libxl when building libxenlight driver
> ---
>  src/Makefile.am |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> 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" ||:

  Heh, I discovered independantly the first part but forgot the second,

    ACK !

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/




More information about the libvir-list mailing list