libvirt: set path to pkcheck
PATCH 1/1 libvirt: set path to pkcheck
From: Shrikant Bobade <[email protected]>
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.
--- recipes-extended/libvirt/libvirt_1.2.2.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
recipes-extended/libvirt/libvirt_1.2.2.bb +4 -1
@@ -67,6 +67,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=
@@ -75,7 +79,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=
Signature · 1 line
1.7.9.5
Quoted 8 lines · Shrikant Bobade
From: Shrikant Bobade <[email protected]>
The libvirt build would fail whenever x11 was in
DISTRO_FEATURESand 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.
Sorry for the delay, I was out of the office.
I applied the patch to daisy and master, let me know if anyone has problems!
Cheers,
Bruce
Quoted 38 lines
Signed-off-by Christopher Larson <[email protected]>Signed-off-by Shrikant Bobade <[email protected]>--- recipes-extended/libvirt/libvirt_1.2.2.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)recipes-extended/libvirt/libvirt_1.2.2.bb +4
-2@@ -67,6 +67,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=@@ -75,7 +79,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= --1.7.9.5
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
Thanks ! Bruce for applying it on daisy & master.
Regard's
Shrikant
Quoted 72 lines · Bruce Ashfield
Quoted 3 lines · Shrikant Bobade
From: Shrikant Bobade <[email protected]>
The libvirt build would fail whenever x11 was in
DISTRO_FEATURESand thehost
Quoted 1 line
didn't have polkit installed (either no polkit/policykit at all, or just
old
Quoted 3 lines
policykit).
Ensure that libvirt uses polkit rather than policykit, whether the host
has
Quoted 1 line
pkcheck installed or not, and ensure the path is correct per our config.
Sorry for the delay, I was out of the office.
I applied the patch to daisy and master, let me know if anyone has problems!
Cheers,
Bruce
Review
Quoted 8 lines
Signed-off-by Christopher Larson <[email protected]>Signed-off-by Shrikant Bobade <[email protected]>--- recipes-extended/libvirt/libvirt_1.2.2.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)(quoted diff) +0
-0b/recipes-extended/libvirt/libvirt_1.2.2.bb
recipes-extended/libvirt/libvirt_1.2.2.bb ac_cv_path_LVS=/usr/sbin/lvs \ · line 70
Quoted 8 lines
index 0cd6b99..a14d465 100644
recipes-extended/libvirt/libvirt_1.2.2.bb +1
-0@@ -67,6 +67,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 thehost has
recipes-extended/libvirt/libvirt_1.2.2.bb ac_cv_path_LVS=/usr/sbin/lvs \ · line 71
Quoted 1 line
recipes-extended/libvirt/libvirt_1.2.2.bb +1
-0+# pkcheck installed or not, and ensure the path is correct per ourconfig.
Quoted 16 lines
recipes-extended/libvirt/libvirt_1.2.2.bb +2
-2+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=@@ -75,7 +79,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= --1.7.9.5
Quoted 5 lines
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"