]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
consolekit: enable polkit if polkit distro feature is set
authorStefan Agner <stefan.agner@toradex.com>
Tue, 15 Jan 2019 22:27:30 +0000 (23:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Jan 2019 22:38:44 +0000 (22:38 +0000)
Enable polkit depending on whether polkit distro feature is set.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/consolekit/consolekit_0.4.6.bb

index 15b39046e342c31410a11abedf7bcd79096469f0..a17f739d4db213567def6481421aeced868e601c 100644 (file)
@@ -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"