From: Tom Hochstein Date: Mon, 18 Jul 2016 14:43:04 +0000 (-0500) Subject: weston-init: De-couple framebuffer console from Weston for systemd startup X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~24922 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fba47b9d881af40eb2462aefd19040dc08314365;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git weston-init: De-couple framebuffer console from Weston for systemd startup The framebuffer console was using the same I/O as Weston. We fix this by having openvt switch to the new VT when starting weston-launch, same as is already done for the sysvinit case. Signed-off-by: Tom Hochstein Signed-off-by: Ross Burton --- diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init index 5c925f45413..d3e87c6cef6 100644 --- a/meta/recipes-graphics/wayland/weston-init/init +++ b/meta/recipes-graphics/wayland/weston-init/init @@ -31,7 +31,7 @@ case "$1" in start) . /etc/profile - weston-start -s -- $OPTARGS + weston-start -- $OPTARGS ;; stop) diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start index 9ef6773b0e8..e72fbaaac4b 100755 --- a/meta/recipes-graphics/wayland/weston-init/weston-start +++ b/meta/recipes-graphics/wayland/weston-init/weston-start @@ -1,5 +1,6 @@ #!/bin/sh # Copyright (C) 2016 O.S. Systems Software LTDA. +# Copyright (C) 2016 Freescale Semiconductor export PATH="/sbin:/usr/sbin:/bin:/usr/bin" @@ -32,7 +33,7 @@ else launcher="weston-launch --" fi -openvt_args="" +openvt_args="-s" while [ -n "$1" ]; do if [ "$1" = "--" ]; then shift