diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-11 00:16:58 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-15 08:49:59 -0400 |
| commit | 5c9d22f016a4d9477da34f089d61e0a92b64668f (patch) | |
| tree | fd575b6911a44e928b8ead68c6804ebec7a1128c /recipes-extended | |
| parent | dd0c48bd139e29a3eb69e6b25b361a572c3b5a8d (diff) | |
| download | meta-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.inc | 2 | ||||
| -rw-r--r-- | recipes-extended/libvirt/libvirt_1.1.1.bb | 7 |
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 | |||
| 5 | export BUILD_SYS | 5 | export BUILD_SYS |
| 6 | export HOST_SYS | 6 | export HOST_SYS |
| 7 | 7 | ||
| 8 | PACKAGECONFIG += "python" | ||
| 9 | PACKAGECONFIG[python] = "--with-python,--without-python,python," | ||
| 10 | RDEPENDS_${PN}-python += "python" | 8 | RDEPENDS_${PN}-python += "python" |
| 11 | PACKAGECONFIG_${PN}-python[xen] = ",,,xen-python" | 9 | PACKAGECONFIG_${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 |
| 114 | PACKAGECONFIG ??= "qemu yajl xen libxl xen-inotify uml openvz vmware vbox esx \ | 114 | PACKAGECONFIG ??= "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,," | |||
| 142 | PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess," | 142 | PACKAGECONFIG[udev] = "--with-udev --with-pciaccess,--without-udev,udev libpciaccess," |
| 143 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux," | 143 | PACKAGECONFIG[selinux] = "--with-selinux,--without-selinux,libselinux," |
| 144 | PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables" | 144 | PACKAGECONFIG[ebtables] = "ac_cv_path_EBTABLES_PATH=/sbin/ebtables,ac_cv_path_EBTABLES_PATH=,ebtables,ebtables" |
| 145 | PACKAGECONFIG[python] = "--with-python,--without-python,python," | ||
| 145 | 146 | ||
| 146 | # Enable the Python tool support | 147 | # Enable the Python tool support |
| 147 | require libvirt-python.inc | 148 | require libvirt-python.inc |
