diff --git a/recipes-kde/plasma/untier/kscreenlocker/files/kde.pam b/recipes-kde/plasma/untier/kscreenlocker/files/kde.pam new file mode 100644 index 00000000..b0304eb2 --- /dev/null +++ b/recipes-kde/plasma/untier/kscreenlocker/files/kde.pam @@ -0,0 +1,14 @@ +#%PAM-1.0 + +auth requisite pam_nologin.so +auth required pam_env.so +auth required pam_unix.so nullok + +account required pam_unix.so + +session required pam_limits.so +session required pam_unix.so +-session optional pam_systemd.so +-session optional pam_kwallet5.so + +password required pam_unix.so diff --git a/recipes-kde/plasma/untier/kscreenlocker/kscreenlocker.bb b/recipes-kde/plasma/untier/kscreenlocker/kscreenlocker.bb index 0879a5f4..2324ecfd 100644 --- a/recipes-kde/plasma/untier/kscreenlocker/kscreenlocker.bb +++ b/recipes-kde/plasma/untier/kscreenlocker/kscreenlocker.bb @@ -26,12 +26,20 @@ PV = "${PLASMA_VERSION}" SRC_URI[md5sum] = "173888c9ce09eb9979c90735b0664d65" SRC_URI[sha256sum] = "3ae7c40c4394c32eafe560694b58aafa841f613451a9543d7fbf5d68e79e4bb2" +SRC_URI += "file://kde.pam" + +do_install_append() { + install -d ${D}${sysconfdir}/pam.d + install -m 644 ${WORKDIR}/kde.pam ${D}${sysconfdir}/pam.d/kde +} + FILES_${PN} += " \ ${datadir}/dbus-1 \ ${datadir}/kconf_update \ ${datadir}/k*5 \ ${datadir}/plasma \ ${datadir}/ksmserver \ + ${sysconfdir} \ ${OE_QMAKE_PATH_PLUGINS} \ "