diff mbox series

[meta-gnome] gdm: allow to unlock keyring when logging in

Message ID 20241120184009.2959-1-f_l_k@t-online.de
State Accepted
Headers show
Series [meta-gnome] gdm: allow to unlock keyring when logging in | expand

Commit Message

Markus Volk Nov. 20, 2024, 6:40 p.m. UTC
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-gnome/recipes-gnome/gdm/gdm_47.0.bb | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb b/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb
index aede4b071..45f23b49b 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_47.0.bb
@@ -40,6 +40,8 @@  do_install:prepend() {
 
 do_install:append() {
     rm -rf ${D}/run ${D}${localstatedir}/run
+    echo "auth       optional     pam_gnome_keyring.so" >> ${D}${sysconfdir}/pam.d/gdm-password
+    echo "session    optional     pam_gnome_keyring.so auto_start" >> ${D}${sysconfdir}/pam.d/gdm-password
 }
 
 USERADD_PACKAGES = "${PN}"