summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-01-02 12:25:18 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-03 08:58:26 +0000
commite698e66dd80769d4ed99e9d7ccbc950beeef3b2a (patch)
tree32619ab92ef08fbf64d8eb9cfcd59bc36b6aa036 /meta/recipes-extended
parentfb1fe1a60d93eb05010c7b6a8077eddd4f910e95 (diff)
downloadpoky-e698e66dd80769d4ed99e9d7ccbc950beeef3b2a.tar.gz
shadow: Remove lastlog pam plugin on musl system
lastlog needs logwtmp which musl does not provide (From OE-Core rev: f2b826fe5384dde4aa52ce862cd3098acb4feea2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/shadow/shadow.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-extended/shadow/shadow.inc b/meta/recipes-extended/shadow/shadow.inc
index f86e5e03c0..4ae7a78c52 100644
--- a/meta/recipes-extended/shadow/shadow.inc
+++ b/meta/recipes-extended/shadow/shadow.inc
@@ -71,6 +71,8 @@ PAM_PLUGINS = "libpam-runtime \
71 pam-plugin-shells \ 71 pam-plugin-shells \
72 pam-plugin-rootok" 72 pam-plugin-rootok"
73 73
74PAM_PLUGINS_remove_libc-musl = "pam-plugin-lastlog"
75
74PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ 76PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
75 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" 77 ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
76PACKAGECONFIG_class-native ??= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" 78PACKAGECONFIG_class-native ??= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"