From: Tom Hochstein <tom.hochstein@freescale.com>
To: <openembedded-core@lists.openembedded.org>
Cc: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
Subject: [PATCH v2] weston-init: Use weston-launch for XWayland
Date: Tue, 1 Dec 2015 14:31:06 -0600 [thread overview]
Message-ID: <1449001866-29286-1-git-send-email-tom.hochstein@freescale.com> (raw)
From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com>
When XWayland is configured, Weston must be started using the
weston-launch utility.
Signed-off-by: Tom Hochstein <tom.hochstein@freescale.com>
---
meta/recipes-graphics/wayland/weston-init/init | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/wayland/weston-init/init b/meta/recipes-graphics/wayland/weston-init/init
index 2e938f4..d1e902f 100644
--- a/meta/recipes-graphics/wayland/weston-init/init
+++ b/meta/recipes-graphics/wayland/weston-init/init
@@ -38,7 +38,15 @@ case "$1" in
chmod 0700 $XDG_RUNTIME_DIR
fi
- openvt -s weston -- $OPTARGS
+ # If weston-launch exists, we're configured for XWayland.
+ if [ -f /usr/bin/weston-launch ]; then
+ echo "Starting Weston in XWayland"
+ export XDG_CONFIG_HOME=/etc
+ openvt -v -- weston-launch -- --log=/var/log/weston.log $OPTARGS
+ else
+ echo "Starting Weston"
+ openvt -s weston -- --log=/var/log/weston.log $OPTARGS
+ fi
;;
stop)
--
2.1.4
next reply other threads:[~2015-12-01 20:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 20:31 Tom Hochstein [this message]
2015-12-01 22:21 ` [PATCH v2] weston-init: Use weston-launch for XWayland alexander.kanavin
2015-12-07 13:19 ` Tom Hochstein
2015-12-07 14:13 ` Otavio Salvador
2015-12-07 14:18 ` Alexander Kanavin
2015-12-10 23:44 ` Tom Hochstein
2015-12-11 12:29 ` Alexander Kanavin
2015-12-11 12:34 ` 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=1449001866-29286-1-git-send-email-tom.hochstein@freescale.com \
--to=tom.hochstein@freescale.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=prabhu.sundararaj@freescale.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.