summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/wayland
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-05-18 13:40:44 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-21 22:24:56 +0100
commit71b356669268a2210f159287bdc2be53e4f3fdf7 (patch)
tree427b2749e7b060301e60d3dc194d9f58c5c4d9a0 /meta/recipes-graphics/wayland
parent2f0283ab0d5e1065931b954dfea905cbc9edb720 (diff)
downloadpoky-71b356669268a2210f159287bdc2be53e4f3fdf7.tar.gz
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>
Diffstat (limited to 'meta/recipes-graphics/wayland')
-rwxr-xr-xmeta/recipes-graphics/wayland/weston-init/weston-start5
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 b791fd5a9b..dc2b1efc78 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
14 exit 1 14 exit 1
15fi 15fi
16 16
17if [ -n "$WAYLAND_DISPLAY" ]; then
18 echo "ERROR: A Wayland compositor is already running, nested Weston instance is not supported yet."
19 exit 1
20fi
21
17openvt_args="" 22openvt_args=""
18while [ -n "$1" ]; do 23while [ -n "$1" ]; do
19 openvt_args="$openvt_args $1" 24 openvt_args="$openvt_args $1"