mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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>
This commit is contained in:
@@ -71,6 +71,8 @@ PAM_PLUGINS = "libpam-runtime \
|
|||||||
pam-plugin-shells \
|
pam-plugin-shells \
|
||||||
pam-plugin-rootok"
|
pam-plugin-rootok"
|
||||||
|
|
||||||
|
PAM_PLUGINS_remove_libc-musl = "pam-plugin-lastlog"
|
||||||
|
|
||||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
|
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
|
${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
|
||||||
PACKAGECONFIG_class-native ??= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
|
PACKAGECONFIG_class-native ??= "${@bb.utils.contains('DISTRO_FEATURES', 'xattr', 'attr', '', d)}"
|
||||||
|
|||||||
Reference in New Issue
Block a user