weston-init: De-couple framebuffer console from Weston for systemd startup
PATCH v2 1/1 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.
--- meta/recipes-graphics/wayland/weston-init/init | 2 +- meta/recipes-graphics/wayland/weston-init/weston-start | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-graphics/wayland/weston-init/init +1 -1
@@ -31,7 +31,7 @@ case "$1" in start) . /etc/profile - weston-start -s -- $OPTARGS + weston-start -- $OPTARGS ;; stop)
meta/recipes-graphics/wayland/weston-init/weston-start +1 -1
@@ -37,7 +37,7 @@ else launcher="weston-launch --" fi -openvt_args="" +openvt_args="-s" while [ -n "$1" ]; do openvt_args="$openvt_args $1" shift
Signature · 1 line
1.9.1
Quoted 5 lines · Tom Hochstein
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 <[email protected]>
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Tom Hochstein
Acked-by Otavio SalvadorSorry again, seems that the weston-start parser is not prepared to take no openvt arguments. Will need to fix that as well.
Tom
-----Original Message-----
From: Otavio Salvador [mailto:[email protected]]
Sent: Friday, July 15, 2016 12:01 PM
To: Tom Hochstein <[email protected]>
Cc: Patches and discussions about the oe-core layer <[email protected]>
Subject: Re: [OE-core] [PATCH v2] weston-init: De-couple framebuffer console from Weston for systemd startup
Quoted 5 lines · Tom Hochstein
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 <[email protected]>
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://code.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750