summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt
diff options
context:
space:
mode:
authorShrikant Bobade <Shrikant_Bobade@mentor.com>2014-08-12 12:39:05 +0530
committerBruce Ashfield <bruce.ashfield@windriver.com>2014-08-18 13:58:30 -0400
commit3a14c0a41a8e08f70b866e0128c7006c82245cc1 (patch)
treee5ed0b0ec0e64d0787384386d8b987bc51edaa55 /recipes-extended/libvirt
parente51f095569de77a74d459af2911aba3aed7da41e (diff)
downloadmeta-virtualization-3a14c0a41a8e08f70b866e0128c7006c82245cc1.tar.gz
libvirt: set path to pkcheck
The libvirt build would fail whenever x11 was in DISTRO_FEATURES and the host didn't have polkit installed (either no polkit/policykit at all, or just old policykit). Ensure that libvirt uses polkit rather than policykit, whether the host has pkcheck installed or not, and ensure the path is correct per our config. Signed-off-by: Christopher Larson <kergoth@gmail.com> Signed-off-by: Shrikant Bobade <Shrikant_Bobade@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended/libvirt')
-rw-r--r--recipes-extended/libvirt/libvirt_1.2.4.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.2.4.bb b/recipes-extended/libvirt/libvirt_1.2.4.bb
index 100d4f2a..56b4d4b7 100644
--- a/recipes-extended/libvirt/libvirt_1.2.4.bb
+++ b/recipes-extended/libvirt/libvirt_1.2.4.bb
@@ -68,6 +68,10 @@ ac_cv_path_LVS=/usr/sbin/lvs \
68ac_cv_path_PARTED=/usr/sbin/parted \ 68ac_cv_path_PARTED=/usr/sbin/parted \
69ac_cv_path_DMSETUP=/usr/sbin/dmsetup" 69ac_cv_path_DMSETUP=/usr/sbin/dmsetup"
70 70
71# Ensure that libvirt uses polkit rather than policykit, whether the host has
72# pkcheck installed or not, and ensure the path is correct per our config.
73CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck"
74
71# Some other possible paths we are not yet setting 75# Some other possible paths we are not yet setting
72#ac_cv_path_RPCGEN= 76#ac_cv_path_RPCGEN=
73#ac_cv_path_XSLTPROC= 77#ac_cv_path_XSLTPROC=
@@ -76,7 +80,6 @@ ac_cv_path_DMSETUP=/usr/sbin/dmsetup"
76#ac_cv_path_EBTABLES_PATH= 80#ac_cv_path_EBTABLES_PATH=
77#ac_cv_path_PKG_CONFIG= 81#ac_cv_path_PKG_CONFIG=
78#ac_cv_path_ac_pt_PKG_CONFIG 82#ac_cv_path_ac_pt_PKG_CONFIG
79#ac_cv_path_PKCHECK_PATH=
80#ac_cv_path_POLKIT_AUTH= 83#ac_cv_path_POLKIT_AUTH=
81#ac_cv_path_DTRACE= 84#ac_cv_path_DTRACE=
82#ac_cv_path_ISCSIADM= 85#ac_cv_path_ISCSIADM=