[gnome-continuous-yocto/gnomeostree-3.28-rocko: 450/8267] weston-init: Error out if loading a nested instance
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 450/8267] weston-init: Error out if loading a nested instance
- Date: Sat, 16 Dec 2017 20:26:37 +0000 (UTC)
commit 71b356669268a2210f159287bdc2be53e4f3fdf7
Author: Otavio Salvador <otavio ossystems com br>
Date: Wed May 18 13:40:44 2016 -0300
weston-init: Error out if loading a nested instance
The Weston nested instance support is not implemented. This errors out
displaying an informative error message so someone insterested on it
may look at implement this later.
(From OE-Core rev: 2332f93ae88ca4e4a5aac1806f21104b6489b3bb)
Signed-off-by: Otavio Salvador <otavio ossystems com br>
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
.../wayland/weston-init/weston-start | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-graphics/wayland/weston-init/weston-start
b/meta/recipes-graphics/wayland/weston-init/weston-start
index b791fd5..dc2b1ef 100755
--- a/meta/recipes-graphics/wayland/weston-init/weston-start
+++ b/meta/recipes-graphics/wayland/weston-init/weston-start
@@ -14,6 +14,11 @@ if test $# -lt 2; then
exit 1
fi
+if [ -n "$WAYLAND_DISPLAY" ]; then
+ echo "ERROR: A Wayland compositor is already running, nested Weston instance is not supported yet."
+ exit 1
+fi
+
openvt_args=""
while [ -n "$1" ]; do
openvt_args="$openvt_args $1"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]