Skip to contentSkip to conversation

libvirt: add PACKAGECONFIG for sasl

PATCH In review Mark Asselstine 2 participants 2 messages Oct 31, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: add PACKAGECONFIG for sasl

We don't want to leave build order dictating whether or not we get sasl support in libvirt so add a PACKAGECONFIG for sasl. I have not added sasl as a default PACKAGECONFIG since out of the box you would not normally get sasl being built so this mimics this behavior. I have listed a RDEPENDS in the PACKAGECONFIG as older Yocto builds for some reason are not picking up the required runtime dependency.

---
 recipes-extended/libvirt/libvirt_1.1.2.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-extended/libvirt/libvirt_1.1.2.bb +1 -0
index 56d6aed..4bdade8 100644
@@ -149,6 +149,7 @@ PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciac
 PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
 PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables"
 PACKAGECONFIG[python] = "--with-python,--without-python,python,"
+PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl"
 
 # Enable the Python tool support
 require libvirt-python.inc
Signature · 1 line
1.8.1.2
#1 lore raw
Quoted 6 lines · Mark Asselstine

We don't want to leave build order dictating whether or not we get sasl support in libvirt so add a PACKAGECONFIG for sasl. I have not added sasl as a default PACKAGECONFIG since out of the box you would not normally get sasl being built so this mimics this behavior. I have listed a RDEPENDS in the PACKAGECONFIG as older Yocto builds for some reason are not picking up the required runtime dependency.

This makes sense to me. I queued the patch, and if no one objects, I can push it tomorrow.

Bruce

Quoted 19 lines
---
  recipes-extended/libvirt/libvirt_1.1.2.bb | 1 +
  1 file changed, 1 insertion(+)
recipes-extended/libvirt/libvirt_1.1.2.bb +1 -0
index 56d6aed..4bdade8 100644
@@ -149,6 +149,7 @@ PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciac
  PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
  PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables"
  PACKAGECONFIG[python] = "--with-python,--without-python,python,"
+PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl,cyrus-sasl"
 
  # Enable the Python tool support
  require libvirt-python.inc