diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2016-07-18 09:43:04 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-07-26 08:56:26 +0100 |
commit | b7a2688ac86056c1128876beb0d70be68849371b (patch) | |
tree | 065af51e786dcaa194eabb1ea4796c52de37a1b2 /meta/recipes-graphics/wayland/weston-init | |
parent | df9f8a89fb05769c9c1968fbdbc5768086711d07 (diff) | |
download | poky-b7a2688ac86056c1128876beb0d70be68849371b.tar.gz |
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.
(From OE-Core rev: fba47b9d881af40eb2462aefd19040dc08314365)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/wayland/weston-init')
-rw-r--r-- | meta/recipes-graphics/wayland/weston-init/init | 2 | ||||
-rwxr-xr-x | meta/recipes-graphics/wayland/weston-init/weston-start | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init index 5c925f4541..d3e87c6cef 100644 --- a/meta/recipes-graphics/wayland/weston-init/init +++ b/meta/recipes-graphics/wayland/weston-init/init | |||
@@ -31,7 +31,7 @@ case "$1" in | |||
31 | start) | 31 | start) |
32 | . /etc/profile | 32 | . /etc/profile |
33 | 33 | ||
34 | weston-start -s -- $OPTARGS | 34 | weston-start -- $OPTARGS |
35 | ;; | 35 | ;; |
36 | 36 | ||
37 | stop) | 37 | stop) |
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start b/meta/recipes-graphics/wayland/weston-init/weston-start index 9ef6773b0e..e72fbaaac4 100755 --- a/meta/recipes-graphics/wayland/weston-init/weston-start +++ b/meta/recipes-graphics/wayland/weston-init/weston-start | |||
@@ -1,5 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # Copyright (C) 2016 O.S. Systems Software LTDA. | 2 | # Copyright (C) 2016 O.S. Systems Software LTDA. |
3 | # Copyright (C) 2016 Freescale Semiconductor | ||
3 | 4 | ||
4 | export PATH="/sbin:/usr/sbin:/bin:/usr/bin" | 5 | export PATH="/sbin:/usr/sbin:/bin:/usr/bin" |
5 | 6 | ||
@@ -32,7 +33,7 @@ else | |||
32 | launcher="weston-launch --" | 33 | launcher="weston-launch --" |
33 | fi | 34 | fi |
34 | 35 | ||
35 | openvt_args="" | 36 | openvt_args="-s" |
36 | while [ -n "$1" ]; do | 37 | while [ -n "$1" ]; do |
37 | if [ "$1" = "--" ]; then | 38 | if [ "$1" = "--" ]; then |
38 | shift | 39 | shift |