[meta-virtualization] [PATCH] libvirt: add DEPENDS for libdevmapper

Bruce Ashfield bruce.ashfield at windriver.com
Thu Apr 27 13:38:18 PDT 2017


merged.

Bruce

On 2017-04-27 1:09 PM, Mark Asselstine wrote:
> Commit 8709d4504c35817ef1d7181b47ba96c3ca0c949e [lvm2: separate
> libdevmapper to avoid circular dependency] in meta-oe meant that our
> build would fail with
>
>   checking for libdevmapper.h... no
>   configure: error: You must install device-mapper-devel/libdevmapper >= 1.0.0 to compile libvirt
>
> Add the required DEPENDS for libdevmapper to get the build working as
> it did prior to this meta-oe change.
>
> NOTE: our previous dependency on lvm2 was not only to get libdevmapper
> functionality, so lvm2 remains a valid DEPENDS, so is left in place.
>
> Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
> ---
>  recipes-extended/libvirt/libvirt_1.3.5.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-extended/libvirt/libvirt_1.3.5.bb b/recipes-extended/libvirt/libvirt_1.3.5.bb
> index a8e6f3f..19b7567 100644
> --- a/recipes-extended/libvirt/libvirt_1.3.5.bb
> +++ b/recipes-extended/libvirt/libvirt_1.3.5.bb
> @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
>  SECTION = "console/tools"
>
>  DEPENDS = "bridge-utils gnutls libxml2 lvm2 avahi parted curl libpcap util-linux e2fsprogs pm-utils \
> -	   iptables dnsmasq readline libtasn1 libxslt-native acl \
> +	   iptables dnsmasq readline libtasn1 libxslt-native acl libdevmapper \
>  	   ${@bb.utils.contains('PACKAGECONFIG', 'polkit', 'shadow-native', '', d)}"
>
>  # libvirt-guests.sh needs gettext.sh
>



More information about the meta-virtualization mailing list