]> code.ossystems Code Review - openembedded-core.git/commitdiff
weston-init: De-couple framebuffer console from Weston for systemd startup
authorTom Hochstein <tom.hochstein@nxp.com>
Mon, 18 Jul 2016 14:43:04 +0000 (09:43 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 25 Jul 2016 22:46:57 +0000 (23:46 +0100)
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 <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-graphics/wayland/weston-init/init
meta/recipes-graphics/wayland/weston-init/weston-start

index 5c925f45413f6d478414204ef2830aa2ae1cbebc..d3e87c6cef6f4d8dd5da5d660752e1280bcc4533 100644 (file)
@@ -31,7 +31,7 @@ case "$1" in
   start)
         . /etc/profile
 
-        weston-start -s -- $OPTARGS
+        weston-start -- $OPTARGS
   ;;
 
   stop)
index 9ef6773b0e8b846cec0eed4d1b192c4a1369a82d..e72fbaaac4b7bb0fc2ca8b7620855dc8bd5324f8 100755 (executable)
@@ -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