summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/pam/libpam_1.1.6.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/pam/libpam_1.1.6.bb')
-rw-r--r--meta/recipes-extended/pam/libpam_1.1.6.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-extended/pam/libpam_1.1.6.bb b/meta/recipes-extended/pam/libpam_1.1.6.bb
index 448a67b71b..f7493c595d 100644
--- a/meta/recipes-extended/pam/libpam_1.1.6.bb
+++ b/meta/recipes-extended/pam/libpam_1.1.6.bb
@@ -102,6 +102,10 @@ do_install() {
102 102
103 # The lsb requires unix_chkpwd has setuid permission 103 # The lsb requires unix_chkpwd has setuid permission
104 chmod 4755 ${D}${sbindir}/unix_chkpwd 104 chmod 4755 ${D}${sbindir}/unix_chkpwd
105
106 if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
107 echo "session optional pam_systemd.so" >> ${D}${sysconfdir}/pam.d/common-session
108 fi
105} 109}
106 110
107python do_pam_sanity () { 111python do_pam_sanity () {