aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-07-16 08:02:52 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-07-17 08:52:13 +0200
commitdbb3624147e4cd1fda79e64cbe5333d570a3e500 (patch)
tree98bab01dad5639cf94885c2a05d8e4fa5973f631 /meta-systemd
parenta97d6003528d67ed5bf2a28acef1b6e9e9a5c1d5 (diff)
downloadmeta-openembedded-contrib-dbb3624147e4cd1fda79e64cbe5333d570a3e500.tar.gz
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>
Diffstat (limited to 'meta-systemd')
-rw-r--r--meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend b/meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend
new file mode 100644
index 0000000000..7c4bcd88f7
--- /dev/null
+++ b/meta-systemd/recipes-extended/pam/libpam_1.1.5.bbappend
@@ -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
+}