[meta-freescale] [oe-core PATCH v6 11/14] weston-init: Error out if loading a nested instance
Otavio Salvador
otavio at ossystems.com.br
Mon May 16 12:12:09 PDT 2016
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.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
Changes in v6: None
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
meta/recipes-graphics/wayland/weston-init/weston-start | 5 +++++
1 file changed, 5 insertions(+)
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"
--
2.8.2
More information about the meta-freescale
mailing list