[oe] [meta-gnome][PATCH 1/2] gdm: delete broken .desktop files

Koen Kooi koen at dominion.thruhere.net
Fri Oct 11 13:48:08 UTC 2013


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.

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

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 04ecb19..65e0826 100644
--- a/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
+++ b/meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb
@@ -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* \
-- 
1.8.3.1




More information about the Openembedded-devel mailing list