From 6d0864469a98ec976b615e0881d057a675143f20 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 15 Jan 2019 23:27:26 +0100 Subject: systemd: only enable polkit if DISTRO_FEATURES asks for polkit Only add polkit to PACKAGECONFIG if polkit is in DISTRO_FEATURES. (From OE-Core rev: 1cde1b68d29da119ca290fd39acf3184499e2f34) Signed-off-by: Stefan Agner Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd_239.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/recipes-core/systemd') 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 \ -- cgit v1.2.3-54-g00ecf