Re: [PATCH] disable xenlight for non-Xen platforms

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/11/2011 09:30 AM, Dan Horák wrote:
Hi,

when building libvirt in Fedora/s390x I've found that xenlight needs to
be explicitly disabled in the spec file. Configure properly sets the
library as non-existent, but the %files section still wants to package
the 3/var/*/libvirt/libxl directories. See also
https://bugzilla.redhat.com/show_bug.cgi?id=745020


From daf8e124ca727b7f4de7f3ab5f04f5336d2c992f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?=<dan@xxxxxxxx>
Date: Tue, 11 Oct 2011 10:28:38 +0200
Subject: [PATCH] xenlight available only on Xen arches (#745020)

---
  libvirt.spec |    6 +++++-
  1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/libvirt.spec b/libvirt.spec
index 8ddfbde..d6afdbc 100644
--- a/libvirt.spec
+++ b/libvirt.spec
@@ -89,6 +89,7 @@
  # Xen is available only on i386 x86_64 ia64
  %ifnarch i386 i586 i686 x86_64 ia64
  %define with_xen 0
+%define with_libxl 0
  %endif

ACK and pushed - this is the only hunk needed for libvirt.spec.in. I've also added you to AUTHORS.

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]