Patchwork [meta-gnome,2/2] gdm 2.32.2: don't install broken gdm-autologin PAM file

login
register
mail settings
Submitter Koen Kooi
Date Oct. 11, 2013, 1:48 p.m.
Message ID <1381499289-10706-2-git-send-email-koen@dominion.thruhere.net>
Download mbox | patch
Permalink /patch/59659/
State Accepted, archived
Commit 8fb7370be6f2aaadd9f600c5153927276f10ffc5
Headers show

Comments

Koen Kooi - Oct. 11, 2013, 1:48 p.m.
It references pam-plugin-console which isn't available. Deleting the PAM file makes autologin work.

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
---
 meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
index 65e0826..b341c8a 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
@@ -4,7 +4,7 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "xinput gnome-panel tcp-wrappers libcanberra libxklavier grep consolekit libpam gnome-doc-utils gtk+ xrdb"
 
-PR = "r17"
+PR = "r18"
 
 inherit gnome update-rc.d systemd useradd
 
@@ -49,6 +49,7 @@  do_install_append() {
 
     install -d ${D}/${sysconfdir}/pam.d
     install -m 0755 ${WORKDIR}/gdm-pam       ${D}/${sysconfdir}/pam.d/gdm
+    rm -f ${D}/${sysconfdir}/pam.d/gdm-autologin
 
     install -d ${D}/${sysconfdir}/gdm/Init
     install -m 0755 ${WORKDIR}/Default ${D}/${sysconfdir}/gdm/Init