lxdm: fix postinst-code
PATCH 1/1 lxdm: fix postinst-code
Exiting postinst code leaves systemd.bbclass offline postinst code unexecuted, causes postinst not to finish at first boot (lxdm.service is not aliased to display-manager.service -> started much too early) and is not neccesary:
language preparation can be done offline.
--- meta-oe/recipes-graphics/lxdm/lxdm_git.bb | 21 +++++++++------------ 1 files changed, 9 insertions(+), 12 deletions(-)
meta-oe/recipes-graphics/lxdm/lxdm_git.bb +9 -12
@@ -15,7 +15,7 @@ LXDM_PAM = "${@base_contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam SRCREV = "65e7cc8fdc150c2b925eb348ce82de17dee5eb0b" PV = "0.4.2+git${SRCPV}" PE = "1" -PR = "r6" +PR = "r7" DEPENDS = "cairo consolekit dbus gdk-pixbuf glib-2.0 gtk+ virtual/libx11 libxcb pango"
@@ -49,19 +49,16 @@ do_install_append() { # make installed languages choosable pkg_postinst_${PN} () { -if [ "x$D" != "x" ]; then - exit 1 -fi langs="" -for lang in `find ${libdir}/locale -maxdepth 1 | grep _ | sort`; do - lang=`basename $lang` - if [ "x$langs" = "x" ]; then - langs="$lang" - else - langs="$langs $lang" - fi +for lang in `find $D${libdir}/locale -maxdepth 1 | grep _ | sort`; do +lang=`basename $lang` +if [ "x$langs" = "x" ]; then + langs="$lang" +else + langs="$langs $lang" +fi done -sed -i "s:last_langs=.*$:last_langs=$langs:g" ${localstatedir}/lib/lxdm/lxdm.conf +sed -i "s:last_langs=.*$:last_langs=$langs:g" $D${localstatedir}/lib/lxdm/lxdm.conf } RDEPENDS_${PN} = "pam-plugin-loginuid setxkbmap"
Signature · 1 line
1.7.6.5
Quoted 7 lines · Andreas Müller
Exiting postinst code leaves systemd.bbclass offline postinst code unexecuted, causes postinst not to finish at first boot (lxdm.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 <[email protected]>---
This unbreaks 1st boot postinst issue - so I would like to see it also in dylan (of course also in master :).
BTW: I am looking into postinst issue for gdm (and other recipes) - will send out a patch as soon as I have test results.
Andreas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 26-04-13 09:50, Andreas Müller schreef:
Quoted 10 lines
Quoted 6 lines · Andreas Müller
Exiting postinst code leaves systemd.bbclass offline postinst code unexecuted, causes postinst not to finish at first boot (lxdm.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 <[email protected]> ---This unbreaks 1st boot postinst issue - so I would like to see it also in dylan (of course also in master :).
\o/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFRejbeMkyGM64RGpERAvn7AKC2vNtsJOFH0B69XviG62I4FZ5RUgCeIbHi C8vhmqTdYaoaziBDunpf2UQ=
=qqO1
-----END PGP SIGNATURE-----
Quoted 11 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 26-04-13 09:50, Andreas Müller schreef:
Quoted 7 lines
Quoted 5 lines · Andreas Müller
Exiting postinst code leaves systemd.bbclass offline postinst code unexecuted, causes postinst not to finish at first boot (lxdm.service is not aliased to display-manager.service -> started much too early) and is not neccesary: language preparation can be done offline.
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Andreas Müller <[email protected]> ---This unbreaks 1st boot postinst issue - so I would like to see it also in dylan (of course also in master :).
\o/
Not sure what this ascii art means, but if it's something about pushing stuff through narrow bottleneck, then I plan to push more stuff to master after this jenkins job is finished:
NOTE: Running task 6924 of 26342
I was trying to test at least qemuarm/qemux86 before branching and there was a lot of rebuilds... More ACKs on patches on ML helps a lot.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 16 lines · Martin Jansa
Quoted 15 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Op 26-04-13 09:50, Andreas Müller schreef:
Quoted 10 lines
Quoted 6 lines · Andreas Müller
Exiting postinst code leaves systemd.bbclass offline postinst code unexecuted, causes postinst not to finish at first boot (lxdm.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 <[email protected]> ---This unbreaks 1st boot postinst issue - so I would like to see it also in dylan (of course also in master :).
Quoted 6 lines
Quoted 1 line
\o/
Not sure what this ascii art means, but if it's something about pushing stuff through narrow bottleneck, then I plan to push more stuff to master after this jenkins job is finished:
NOTE: Running task 6924 of 26342
My intention was not to put pressure on you. I highly appreciate that you are testing patches and this takes time - I know that.
Andreas
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 26-04-13 10:43, Martin Jansa schreef:
Quoted 12 lines · Koen Kooi
Quoted 11 lines
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Op 26-04-13 09:50, Andreas Müller schreef:
Quoted 8 lines
Quoted 6 lines · Andreas Müller
Exiting postinst code leaves systemd.bbclass offline postinst code unexecuted, causes postinst not to finish at first boot (lxdm.service is not aliased to display-manager.service -> started much too early) and is not neccesary: language preparation can be done offline.
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Andreas Müller <[email protected]> ---This unbreaks 1st boot postinst issue - so I would like to see it also in dylan (of course also in master :).
\o/
Not sure what this ascii art means,
It's a cheer: http://en.wikipedia.org/wiki/List_of_emoticons
but if it's something about pushing
Quoted 5 lines
stuff through narrow bottleneck, then I plan to push more stuff to master after this jenkins job is finished: NOTE: Running task 6924 of 26342
I was trying to test at least qemuarm/qemux86 before branching and there was a lot of rebuilds... More ACKs on patches on ML helps a lot.
Still rebuilding dylan branches for a few machines to test, on a laptop :/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFRekGVMkyGM64RGpERAnKjAJwJnAm6slXhV+ITveWLx7t7+0vEWACfY8XO FgeL+JHAcYJoyocoFx86Bi4=
=9PL9
-----END PGP SIGNATURE-----