[meta-virtualization] [PATCH] libvirt: add udev pkgconfig option

b28495 at freescale.com b28495 at freescale.com
Wed Apr 17 00:43:31 PDT 2013


From: Ting Liu <b28495 at freescale.com>

libvirt depends on libpciaccess when udev was enabled.

The configure log:
| checking for UDEV... yes
| configure: error: You must install the pciaccess module to build with udev
| Configure failed. The contents of all config.log files follows to aid debugging

Signed-off-by: Ting Liu <b28495 at freescale.com>
---
 recipes-extended/libvirt/libvirt_1.0.3.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/recipes-extended/libvirt/libvirt_1.0.3.bb b/recipes-extended/libvirt/libvirt_1.0.3.bb
index c1c000e..f8bf79a 100644
--- a/recipes-extended/libvirt/libvirt_1.0.3.bb
+++ b/recipes-extended/libvirt/libvirt_1.0.3.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://libvirt.org"
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
 SECTION = "console/tools"
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
 	   iptables ebtables dnsmasq readline"
@@ -129,6 +129,7 @@ PACKAGECONFIG[macvtap] = "--with-macvtap=yes,--with-macvtap=no,libnl,libnl"
 PACKAGECONFIG[libvirtd] = "--with-libvirtd,--without-libvirtd"
 PACKAGECONFIG[netcf] = "--with-netcf,--without-netcf,netcf,netcf"
 PACKAGECONFIG[dtrace] = "--with-dtrace,--without-dtrace,,"
+PACKAGECONFIG[udev] = "--with-udev,--without-udev,libpciaccess,"
 
 # Enable the Python tool support
 require libvirt-python.inc
-- 
1.7.5.4





More information about the meta-virtualization mailing list