diff options
| author | Jonas Eriksson <jonas.eriksson@enea.com> | 2014-02-27 17:10:09 +0100 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-02-28 10:43:27 -0500 |
| commit | ce991a62d5f2ce006074ee4b8a97c6029308548c (patch) | |
| tree | 5be6dc19b5588fcee7230c42a9535493ef561b97 | |
| parent | 9b5d1d158a78d50c55a86d8e9f245b3f84c88893 (diff) | |
| download | meta-virtualization-ce991a62d5f2ce006074ee4b8a97c6029308548c.tar.gz | |
libvirt: Disable polkit driver when there is no x11
To avoid having the default build of libvirt depend on virtual/x11
through polkit and consolekit, check for x11 in DISTRO_FEATURES before
enabling the polkit support in the default PKG_CONFIG.
Signed-off-by: Jonas Eriksson <jonas.eriksson@enea.com>
Acked-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
| -rw-r--r-- | recipes-extended/libvirt/libvirt_1.2.1.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.2.1.bb b/recipes-extended/libvirt/libvirt_1.2.1.bb index 5365b8de..4c9cf36f 100644 --- a/recipes-extended/libvirt/libvirt_1.2.1.bb +++ b/recipes-extended/libvirt/libvirt_1.2.1.bb | |||
| @@ -109,10 +109,11 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72" | |||
| 109 | #PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd" | 109 | #PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd" |
| 110 | 110 | ||
| 111 | # full config | 111 | # full config |
| 112 | PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 polkit lxc test \ | 112 | PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \ |
| 113 | remote macvtap libvirtd netcf udev python ebtables \ | 113 | remote macvtap libvirtd netcf udev python ebtables \ |
| 114 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ | 114 | ${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ |
| 115 | ${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \ | 115 | ${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \ |
| 116 | ${@base_contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \ | ||
| 116 | " | 117 | " |
| 117 | 118 | ||
| 118 | # enable,disable,depends,rdepends | 119 | # enable,disable,depends,rdepends |
