[OE-core] [PATCH 1/5] systemd: only enable polkit if DISTRO_FEATURES asks for polkit
Stefan Agner
stefan at agner.ch
Tue Jan 15 22:27:26 UTC 2019
From: Stefan Agner <stefan.agner at toradex.com>
Only add polkit to PACKAGECONFIG if polkit is in DISTRO_FEATURES.
Signed-off-by: Stefan Agner <stefan.agner at toradex.com>
---
meta/recipes-core/systemd/systemd_239.bb | 3 +--
1 file changed, 1 insertion(+), 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 \
--
2.13.6
More information about the Openembedded-core
mailing list