Skip to contentSkip to conversation

libvirt: add udev pkgconfig option

PATCH In review [email protected] 2 participants 2 messages Apr 17, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: add udev pkgconfig option

From: Ting Liu <[email protected]>

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
---
 recipes-extended/libvirt/libvirt_1.0.3.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes-extended/libvirt/libvirt_1.0.3.bb +2 -1
index c1c000e..f8bf79a 100644
@@ -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
Signature · 1 line
1.7.5.4
#1 lore raw
Quoted 9 lines · On Wed, Apr 17, 2013 at 3:43 AM, <[email protected]> wrote:

From: Ting Liu <[email protected]>

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

I have a similar change locally that I haven't sent out yet, I'll merge this into
it and send a combined commit log.

Cheers,

Bruce

Quoted 30 lines
---
 recipes-extended/libvirt/libvirt_1.0.3.bb |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
recipes-extended/libvirt/libvirt_1.0.3.bb +2 -2
index c1c000e..f8bf79a 100644
@@ -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

Quoted 4 lines

_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"