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

Bruce Ashfield bruce.ashfield at gmail.com
Wed Apr 17 06:49:41 PDT 2013


On Wed, Apr 17, 2013 at 3:43 AM,  <b28495 at freescale.com> wrote:
> 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
>

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

> 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
>
>
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization



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



More information about the meta-virtualization mailing list