mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 03:59:48 +02:00
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>
This commit is contained in:
parent
9b5d1d158a
commit
ce991a62d5
|
@ -109,10 +109,11 @@ INITSCRIPT_PARAMS_${PN}-libvirtd = "defaults 72"
|
|||
#PACKAGECONFIG ??= "xen libxl xen-inotify test remote libvirtd"
|
||||
|
||||
# full config
|
||||
PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 polkit lxc test \
|
||||
PACKAGECONFIG ??= "qemu yajl uml openvz vmware vbox esx iproute2 lxc test \
|
||||
remote macvtap libvirtd netcf udev python ebtables \
|
||||
${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'xen', 'xen libxl xen-inotify', '', d)} \
|
||||
${@base_contains('DISTRO_FEATURES', 'x11', 'polkit', '', d)} \
|
||||
"
|
||||
|
||||
# enable,disable,depends,rdepends
|
||||
|
|
Loading…
Reference in New Issue
Block a user