mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
consolekit: enable polkit if polkit distro feature is set
Enable polkit depending on whether polkit distro feature is set. (From OE-Core rev: d96ac9b0adcd4cb080cbdc9330e9a2d1f1da4628) Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e55038f23a
commit
8f3b5a7f43
@@ -23,7 +23,7 @@ SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf9751464
|
||||
|
||||
S = "${WORKDIR}/ConsoleKit-${PV}"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd', d)}"
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam systemd polkit', d)}"
|
||||
|
||||
PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam"
|
||||
PACKAGECONFIG[polkit] = "--with-polkit,--without-polkit,polkit"
|
||||
|
||||
Reference in New Issue
Block a user