mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
shadow: remove dependency on pam-plugin-lastlog
This item has been deprecated in pam 1.5.3 and is no longer built by default: https://github.com/linux-pam/linux-pam/blob/master/NEWS (From OE-Core rev: 04f3c3e335bf5e7c3a12ccc97fda9a8c214135d0) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
f965880f7f
commit
45ff515d34
|
@ -57,10 +57,6 @@ auth optional pam_group.so
|
|||
# (Replaces the use of /etc/limits in old login)
|
||||
session required pam_limits.so
|
||||
|
||||
# Prints the last login info upon succesful login
|
||||
# (Replaces the `LASTLOG_ENAB' option from login.defs)
|
||||
session optional pam_lastlog.so
|
||||
|
||||
# Prints the motd upon succesful login
|
||||
# (Replaces the `MOTD_FILE' option in login.defs)
|
||||
session optional pam_motd.so
|
||||
|
|
|
@ -65,14 +65,11 @@ PAM_PLUGINS = "libpam-runtime \
|
|||
pam-plugin-env \
|
||||
pam-plugin-group \
|
||||
pam-plugin-limits \
|
||||
pam-plugin-lastlog \
|
||||
pam-plugin-motd \
|
||||
pam-plugin-mail \
|
||||
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)}"
|
||||
|
|
Loading…
Reference in New Issue
Block a user