Skip to contentSkip to conversation

libvirt: add DEPENDS for libdevmapper

PATCH In review Mark Asselstine 2 participants 2 messages Apr 27, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: add DEPENDS for libdevmapper

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.

---
 recipes-extended/libvirt/libvirt_1.3.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_1.3.5.bb +1 -1
index a8e6f3f..19b7567 100644
@@ -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
Signature · 1 line
2.7.4
#1 lore raw

merged.

Bruce

Quoted 32 lines · Mark Asselstine

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.

---
 recipes-extended/libvirt/libvirt_1.3.5.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_1.3.5.bb +1 -1
index a8e6f3f..19b7567 100644
@@ -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