[oe-commits] [openembedded-core] 10/60: weston-init: De-couple framebuffer console from Weston for systemd startup
git at git.openembedded.org
git at git.openembedded.org
Mon Jul 25 08:58:37 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit e81ee3ab063e69ebadad60e605a5ce0a07c79091
Author: Tom Hochstein <tom.hochstein at nxp.com>
AuthorDate: Mon Jul 18 09:43:04 2016 -0500
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 <tom.hochstein at nxp.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
meta/recipes-graphics/wayland/weston-init/init | 2 +-
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 5c925f4..d3e87c6 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 9ef6773..e72fbaa 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list