From: Stefan Agner Date: Tue, 15 Jan 2019 22:27:26 +0000 (+0100) Subject: systemd: only enable polkit if DISTRO_FEATURES asks for polkit X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~15629 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1cde1b68d29da119ca290fd39acf3184499e2f34;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd: only enable polkit if DISTRO_FEATURES asks for polkit Only add polkit to PACKAGECONFIG if polkit is in DISTRO_FEATURES. Signed-off-by: Stefan Agner Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd_239.bb b/meta/recipes-core/systemd/systemd_239.bb index be836ffa42f..586ef65299e 100644 --- a/meta/recipes-core/systemd/systemd_239.bb +++ b/meta/recipes-core/systemd/systemd_239.bb @@ -76,7 +76,7 @@ PAM_PLUGINS = " \ " PACKAGECONFIG ??= " \ - ${@bb.utils.filter('DISTRO_FEATURES', 'efi ldconfig pam selinux usrmerge', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'efi ldconfig pam selinux usrmerge polkit', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'rfkill', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \ acl \ @@ -94,7 +94,6 @@ PACKAGECONFIG ??= " \ myhostname \ networkd \ nss \ - polkit \ quotacheck \ randomseed \ resolved \