From: Khem Raj Date: Sat, 2 Jan 2021 20:25:18 +0000 (-0800) Subject: shadow: Remove lastlog pam plugin on musl system X-Git-Tag: uninative-2.10~298 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=f2b826fe5384dde4aa52ce862cd3098acb4feea2;p=openembedded-core.git shadow: Remove lastlog pam plugin on musl system lastlog needs logwtmp which musl does not provide Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- 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 \ pam-plugin-shells \ pam-plugin-rootok" +PAM_PLUGINS_remove_libc-musl = "pam-plugin-lastlog" + PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}" PACKAGECONFIG_class-native ??= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"