aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2019-01-15 23:27:26 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-15 22:38:43 +0000
commit1cde1b68d29da119ca290fd39acf3184499e2f34 (patch)
tree5f305e12e3a9dfed05adb8745cdbeea785f3368e /meta/recipes-core
parent3ba6cee84de89f8eb200e4c93d446f6cdeeaa4be (diff)
downloadopenembedded-core-contrib-1cde1b68d29da119ca290fd39acf3184499e2f34.tar.gz
openembedded-core-contrib-1cde1b68d29da119ca290fd39acf3184499e2f34.tar.bz2
openembedded-core-contrib-1cde1b68d29da119ca290fd39acf3184499e2f34.zip
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 <stefan.agner@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/systemd/systemd_239.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/recipes-core/systemd/systemd_239.bb b/meta/recipes-core/systemd/systemd_239.bb
index be836ffa42..586ef65299 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 \