From 3a14c0a41a8e08f70b866e0128c7006c82245cc1 Mon Sep 17 00:00:00 2001 From: Shrikant Bobade Date: Tue, 12 Aug 2014 12:39:05 +0530 Subject: 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 Signed-off-by: Shrikant Bobade Signed-off-by: Bruce Ashfield --- recipes-extended/libvirt/libvirt_1.2.4.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'recipes-extended/libvirt') 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 \ ac_cv_path_PARTED=/usr/sbin/parted \ ac_cv_path_DMSETUP=/usr/sbin/dmsetup" +# 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. +CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck" + # Some other possible paths we are not yet setting #ac_cv_path_RPCGEN= #ac_cv_path_XSLTPROC= @@ -76,7 +80,6 @@ ac_cv_path_DMSETUP=/usr/sbin/dmsetup" #ac_cv_path_EBTABLES_PATH= #ac_cv_path_PKG_CONFIG= #ac_cv_path_ac_pt_PKG_CONFIG -#ac_cv_path_PKCHECK_PATH= #ac_cv_path_POLKIT_AUTH= #ac_cv_path_DTRACE= #ac_cv_path_ISCSIADM= -- cgit v1.2.3-54-g00ecf