summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2017-11-29 22:30:57 +0100
committerMarcel Ziswiler <marcel.ziswiler@toradex.com>2017-11-30 14:04:04 +0100
commit5d6a4adaffcf96a41728c31f6cfae91340840565 (patch)
treeee9e574cb94c0ad52e806b180c0494edbe18cc69
parent5b45b02df01a592f02b035002247a12d5d464f44 (diff)
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 <max.krummenacher@toradex.com> Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
-rw-r--r--recipes-lxde/lxde-common/lxde-common_%.bbappend5
1 files changed, 3 insertions, 2 deletions
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 () {