On Sat, Apr 27, 2013 at 9:31 PM, Martin Jansa <martin.ja...@gmail.com> wrote: > On Sat, Apr 27, 2013 at 08:33:57PM +0200, Andreas Müller wrote: >> Exiting postinst code leaves systemd.bbclass offline postinst code >> unexecuted, >> causes postinst not to finish at first boot (gdm.service is not aliased to >> display-manager.service -> started much too early) and is not neccesary: >> language preparation can be done offline. >> >> Signed-off-by: Andreas Müller <schnitzelt...@googlemail.com> >> --- >> meta-gnome/recipes-gnome/gdm/gdm_2.32.2.bb | 31 >> ++++++++++----------------- >> 1 files changed, 12 insertions(+), 19 deletions(-) >> >> >> +pkg_postinst_${PN} () { >> # Register up as default dm >> -mkdir -p ${sysconfdir}/X11/ >> -echo "${bindir}/gdm" > ${sysconfdir}/X11/default-display-manager >> - >> +mkdir -p $D${sysconfdir}/X11/ >> +echo "${bindir}/gdm" > $D${sysconfdir}/X11/default-display-manager > > Maybe we should use u-a for default-display-manager like we use > x-window-manager for WMs. > > but git grep display-manager shows only > meta-oe/recipes-graphics/nonworking/slim/slim_1.3.2.bb > doing the same as gdm > Intention of this patch is fixing postinst failure. I have no idea what this file is for. Can somebody give me a hint (is it required in systemd environments?) and can we fix this in another series? By the way: I am not using gdm. From what I have seen during tests for this series it needs a lot more love to work as expected: * gdm decides to put my standard user into the list of excluded users so it is not displayed in the list and has to be entered manually. * it is terribly slow * the log files are full of different warnings - one thing I saw was that polkit-gnome does not find its way into the image although it is recommended
Andreas _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel