All of lore.kernel.org
 help / color / mirror / Atom feed
From: Otavio Salvador <otavio@ossystems.com.br>
To: OpenEmbedded Core Mailing List
	<openembedded-core@lists.openembedded.org>
Cc: prabhu.sundararaj@nxp.com,
	Otavio Salvador <otavio@ossystems.com.br>,
	meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: [oe-core PATCH v3 5/8] weston-init: Error out if loading a nested instance
Date: Wed,  4 May 2016 19:49:37 -0300	[thread overview]
Message-ID: <1462402180-16861-6-git-send-email-otavio@ossystems.com.br> (raw)
In-Reply-To: <1462402180-16861-1-git-send-email-otavio@ossystems.com.br>

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@ossystems.com.br>
---

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 5924c68..760a87b 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



WARNING: multiple messages have this Message-ID (diff)
From: Otavio Salvador <otavio@ossystems.com.br>
To: OpenEmbedded Core Mailing List
	<openembedded-core@lists.openembedded.org>
Cc: prabhu.sundararaj@nxp.com,
	Otavio Salvador <otavio@ossystems.com.br>,
	neenareddy.busireddy@nxp.com,
	meta-freescale Mailing List <meta-freescale@yoctoproject.org>
Subject: [oe-core PATCH v3 5/8] weston-init: Error out if loading a nested instance
Date: Wed,  4 May 2016 19:49:37 -0300	[thread overview]
Message-ID: <1462402180-16861-6-git-send-email-otavio@ossystems.com.br> (raw)
In-Reply-To: <1462402180-16861-1-git-send-email-otavio@ossystems.com.br>

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@ossystems.com.br>
---

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 5924c68..760a87b 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



  parent reply	other threads:[~2016-05-04 22:50 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-04 22:49 [oe-core PATCH v3 0/8] Improve Xwayland integration Otavio Salvador
2016-05-04 22:49 ` Otavio Salvador
2016-05-04 22:49 ` [oe-core PATCH v3 1/8] weston: Enable XWayland when X11 and Wayland support are available Otavio Salvador
2016-05-04 22:49   ` Otavio Salvador
2016-05-04 22:49 ` [oe-core PATCH v3 2/8] weston: Remove XWayland dependencies on PACKAGECONFIG Otavio Salvador
2016-05-04 22:49   ` Otavio Salvador
2016-05-04 22:49 ` [oe-core PATCH v3 3/8] weston-init: Rework do_install to use install -D option Otavio Salvador
2016-05-04 22:49   ` Otavio Salvador
2016-05-04 22:49 ` [oe-core PATCH v3 4/8] weston-init: Rework init sequence to avoid code duplication Otavio Salvador
2016-05-04 22:49   ` Otavio Salvador
2016-05-04 22:49 ` Otavio Salvador [this message]
2016-05-04 22:49   ` [oe-core PATCH v3 5/8] weston-init: Error out if loading a nested instance Otavio Salvador
2016-05-04 22:49 ` [oe-core PATCH v3 6/8] weston-init: Add module support for the weston-start helper Otavio Salvador
2016-05-04 22:49   ` Otavio Salvador
2016-05-04 22:49 ` [oe-core PATCH v3 7/8] weston: Add Xwayland initialization support using weston-start Otavio Salvador
2016-05-04 22:49   ` Otavio Salvador
2016-05-04 22:49 ` [oe-core PATCH v3 8/8] core-image-weston: If X11 is enabled, add XWayland support Otavio Salvador
2016-05-04 22:49   ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462402180-16861-6-git-send-email-otavio@ossystems.com.br \
    --to=otavio@ossystems.com.br \
    --cc=meta-freescale@yoctoproject.org \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=prabhu.sundararaj@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.