[meta-virtualization] [PATCH 1/2] libvirt: add dependency on libpciaccess

Bruce Ashfield bruce.ashfield at gmail.com
Sat Apr 6 20:52:02 PDT 2013


On Wed, Mar 27, 2013 at 11:25 AM,  <b28495 at freescale.com> wrote:
> From: Ting Liu <b28495 at freescale.com>
>
> 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 |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_1.0.3.bb b/recipes-extended/libvirt/libvirt_1.0.3.bb
> index 372e874..ae2a9df 100644
> --- a/recipes-extended/libvirt/libvirt_1.0.3.bb
> +++ b/recipes-extended/libvirt/libvirt_1.0.3.bb
> @@ -3,10 +3,10 @@ HOMEPAGE = "http://libvirt.org"
>  LICENSE = "GPLv2+"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=fb919cc88dbe06ec0b0bd50e001ccf1f"
>  SECTION = "console/tools"
> -PR = "r0"
> +PR = "r1"
>
>  DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
> -          iptables ebtables dnsmasq readline"
> +          iptables ebtables dnsmasq readline libpciaccess"

This adds a hard dependency on something that is detected/optional.
libvirt has a
udev flag (--with-udev), it would be better to make this a PACKAGECONFIG
setting, and add the dependency only when udev was enabled.

Cheers,

Bruce

>
>  # These might be included by PACKAGECONFIG
>  #RRECOMMENDS+= "polkit qemu yajl libnl lxc netcf"
> --
> 1.7.9.7
>
>
> _______________________________________________
> 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