libpam 1.1.5 bbappend: register PAM session with logind

This makes screen/tmux/etc work as intended

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Koen Kooi 2012-07-16 08:02:52 +00:00
parent a97d600352
commit dbb3624147

View File

@ -0,0 +1,6 @@
PRINC := "${@int(PRINC) + 1}"
# Register with logind to make screen/tmux/etc work
do_install_append() {
echo "session required pam_systemd.so" >> ${D}${sysconfdir}/pam.d/common-session
}