diff options
author | Shrikant Bobade <Shrikant_Bobade@mentor.com> | 2014-08-12 12:39:05 +0530 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-08-18 13:57:57 -0400 |
commit | 655ca30099fcd47a878d63d2d80a79174c1ff8ff (patch) | |
tree | 341c79d716ff3a331387b4165db45dd2f02afa2c | |
parent | 669c07a02fbb190c3f1b73fe4d9cf62c67dc4f7b (diff) | |
download | meta-virtualization-655ca30099fcd47a878d63d2d80a79174c1ff8ff.tar.gz |
libvirt: set path to pkcheckdaisy
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>
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.2.2.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.2.2.bb b/recipes-extended/libvirt/libvirt_1.2.2.bb index 0cd6b990..a14d4653 100644 --- a/recipes-extended/libvirt/libvirt_1.2.2.bb +++ b/recipes-extended/libvirt/libvirt_1.2.2.bb | |||
@@ -67,6 +67,10 @@ ac_cv_path_LVS=/usr/sbin/lvs \ | |||
67 | ac_cv_path_PARTED=/usr/sbin/parted \ | 67 | ac_cv_path_PARTED=/usr/sbin/parted \ |
68 | ac_cv_path_DMSETUP=/usr/sbin/dmsetup" | 68 | ac_cv_path_DMSETUP=/usr/sbin/dmsetup" |
69 | 69 | ||
70 | # Ensure that libvirt uses polkit rather than policykit, whether the host has | ||
71 | # pkcheck installed or not, and ensure the path is correct per our config. | ||
72 | CACHED_CONFIGUREVARS += "ac_cv_path_PKCHECK_PATH=${bindir}/pkcheck" | ||
73 | |||
70 | # Some other possible paths we are not yet setting | 74 | # Some other possible paths we are not yet setting |
71 | #ac_cv_path_RPCGEN= | 75 | #ac_cv_path_RPCGEN= |
72 | #ac_cv_path_XSLTPROC= | 76 | #ac_cv_path_XSLTPROC= |
@@ -75,7 +79,6 @@ ac_cv_path_DMSETUP=/usr/sbin/dmsetup" | |||
75 | #ac_cv_path_EBTABLES_PATH= | 79 | #ac_cv_path_EBTABLES_PATH= |
76 | #ac_cv_path_PKG_CONFIG= | 80 | #ac_cv_path_PKG_CONFIG= |
77 | #ac_cv_path_ac_pt_PKG_CONFIG | 81 | #ac_cv_path_ac_pt_PKG_CONFIG |
78 | #ac_cv_path_PKCHECK_PATH= | ||
79 | #ac_cv_path_POLKIT_AUTH= | 82 | #ac_cv_path_POLKIT_AUTH= |
80 | #ac_cv_path_DTRACE= | 83 | #ac_cv_path_DTRACE= |
81 | #ac_cv_path_ISCSIADM= | 84 | #ac_cv_path_ISCSIADM= |