From 5d6a4adaffcf96a41728c31f6cfae91340840565 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Wed, 29 Nov 2017 22:30:57 +0100 Subject: lxde-common: fix lxsession start Do not provide an empty postinst function with exit 0. Because of this update-alternatives has not been called and thus openbox instead of lxsession becomes the alternative used for /usr/bin/x-window-manager. Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-lxde/lxde-common/lxde-common_%.bbappend | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'recipes-lxde') diff --git a/recipes-lxde/lxde-common/lxde-common_%.bbappend b/recipes-lxde/lxde-common/lxde-common_%.bbappend index bbd0f00..b45c7dd 100644 --- a/recipes-lxde/lxde-common/lxde-common_%.bbappend +++ b/recipes-lxde/lxde-common/lxde-common_%.bbappend @@ -93,9 +93,10 @@ pkg_postinst_${PN}_mx6 () { } # the ull is in the mx6 soc family, so give a more specific override here +# do nothing, but do not prevent the injected update-alternatives to run on +# the target. pkg_postinst_${PN}_mx6ull () { - # do nothing - exit 0 + : } pkg_postinst_${PN}_mx7 () { -- cgit v1.2.3