gdm 2.32.2: don't install broken gdm-autologin PAM file
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 11 Oct 2013 13:48:09 +0000 (13:48 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:33:53 +0000 (08:33 -0800)
It references pam-plugin-console which isn't available. Deleting the PAM file makes autologin work.

(From meta-openembedded rev: 8fb7370be6f2aaadd9f600c5153927276f10ffc5)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb

index 65e0826..b341c8a 100644 (file)
@@ -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