gdm: delete broken .desktop files
authorKoen Kooi <koen@dominion.thruhere.net>
Fri, 11 Oct 2013 13:48:08 +0000 (13:48 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:33:53 +0000 (08:33 -0800)
GDM tries to run these during the login window and one of these crashes, leading to an autologin failure. Remove the non-essential ones to get rid of this problem.

The proper fix is to stop metacity crashing.

(From meta-openembedded rev: 449bd907484871dce3beb08358473a7997e6b1db)

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 04ecb19..65e0826 100644 (file)
@@ -63,6 +63,12 @@ do_install_append() {
 
     rm -rf "${D}${localstatedir}/run"
     rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
+
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/at-spi-registryd-wrapper.desktop
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/orca-screen-reader.desktop
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/gnome-mag.desktop
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/gok.desktop
+    rm -f ${D}${datadir}/gdm/autostart/LoginWindow/metacity.desktop
 }
 
 FILES_${PN} += "${datadir}/icon* \