summaryrefslogtreecommitdiffstats
path: root/recipes-extended
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2013-08-11 00:16:58 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-15 08:49:59 -0400
commit5c9d22f016a4d9477da34f089d61e0a92b64668f (patch)
treefd575b6911a44e928b8ead68c6804ebec7a1128c /recipes-extended
parentdd0c48bd139e29a3eb69e6b25b361a572c3b5a8d (diff)
downloadmeta-virtualization-5c9d22f016a4d9477da34f089d61e0a92b64668f.tar.gz
libvirt: move python PACKAGECONFIG into main recipe
The libvirt-python.inc manipulation of PACKAGECONFIG meant that the default configuration options of the libvirt recipe never fired, since the variable had an assignment and the lazy set of the configuration values never applied to the build. Moving the python PACKAGE_CONFIG options into the main recipe, and ensuring that PACKAGE_CONFIG_${PN} is used for libvirt-python means that most builds will now use the default configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r--recipes-extended/libvirt/libvirt-python.inc2
-rw-r--r--recipes-extended/libvirt/libvirt_1.1.1.bb7
2 files changed, 4 insertions, 5 deletions
diff --git a/recipes-extended/libvirt/libvirt-python.inc b/recipes-extended/libvirt/libvirt-python.inc
index 63e06577..1bf63234 100644
--- a/recipes-extended/libvirt/libvirt-python.inc
+++ b/recipes-extended/libvirt/libvirt-python.inc
@@ -5,8 +5,6 @@ export STAGING_LIBDIR
5export BUILD_SYS 5export BUILD_SYS
6export HOST_SYS 6export HOST_SYS
7 7
8PACKAGECONFIG += "python"
9PACKAGECONFIG[python] = "--with-python,--without-python,python,"
10RDEPENDS_${PN}-python += "python" 8RDEPENDS_${PN}-python += "python"
11PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python" 9PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python"
12 10
diff --git a/recipes-extended/libvirt/libvirt_1.1.1.bb b/recipes-extended/libvirt/libvirt_1.1.1.bb
index 4502e852..2b971dfd 100644
--- a/recipes-extended/libvirt/libvirt_1.1.1.bb
+++ b/recipes-extended/libvirt/libvirt_1.1.1.bb
@@ -112,9 +112,9 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72"
112 112
113# full config 113# full config
114PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \ 114PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \
115 polkit lxc test remote macvtap libvirtd netcf udev python \ 115 polkit lxc test remote macvtap libvirtd netcf udev python ebtables \
116 ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ 116 {@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
117 ebtables" 117 "
118 118
119# enable,disable,depends,rdepends 119# enable,disable,depends,rdepends
120# 120#
@@ -142,6 +142,7 @@ PACKAGECONFIG[dtrace] = "--with-dtrace,--without-dtrace,,"
142PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess," 142PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess,"
143PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux," 143PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux,"
144PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables" 144PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables"
145PACKAGECONFIG[python] = "--with-python,--without-python,python,"
145 146
146# Enable the Python tool support 147# Enable the Python tool support
147require libvirt-python.inc 148require libvirt-python.inc