From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH v2 4/4] weston: make weston-launch configurable
Date: Wed, 11 Apr 2018 12:03:57 +0200 [thread overview]
Message-ID: <20180411100357.13033-5-m.tretter@pengutronix.de> (raw)
In-Reply-To: <20180411100357.13033-1-m.tretter@pengutronix.de>
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
rules/weston.in | 9 +++++++++
rules/weston.make | 5 ++++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/rules/weston.in b/rules/weston.in
index 56b85d26a..79512bc2a 100644
--- a/rules/weston.in
+++ b/rules/weston.in
@@ -57,6 +57,15 @@ config WESTON_FBDEV_COMPOSITOR
bool
prompt "fbdev compositor"
+config WESTON_LAUNCH
+ bool
+ prompt "weston-launch support"
+ # needs pam
+ depends on BROKEN
+ help
+ weston-launch is a setuid-root program which does privileged
+ operations on Weston's behalf
+
config WESTON_SYSTEMD
bool
default INITMETHOD_SYSTEMD
diff --git a/rules/weston.make b/rules/weston.make
index 61cb6b072..dd942b0bb 100644
--- a/rules/weston.make
+++ b/rules/weston.make
@@ -59,7 +59,7 @@ WESTON_CONF_OPT := \
--disable-simple-dmabuf-v4l-client \
--enable-clients \
--enable-resize-optimization \
- --disable-weston-launch \
+ --$(call ptx/endis, PTXCONF_WESTON_LAUNCH)-weston-launch \
--enable-fullscreen-shell \
--disable-colord \
--$(call ptx/endis, PTXCONF_WESTON_SYSTEMD_LOGIND)-dbus \
@@ -90,6 +90,9 @@ $(STATEDIR)/weston.targetinstall:
@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston)
@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-info)
+ifdef PTXCONF_WESTON_LAUNCH
+ @$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-launch)
+endif
@$(call install_copy, weston, 0, 0, 0755, -, /usr/bin/weston-terminal)
ifdef PTXCONF_WESTON_WCAP_TOOLS
--
2.16.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2018-04-11 10:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-10 9:06 [ptxdist] [PATCH 1/4] wayland-protocols: version bump 1.12 -> 1.13 Michael Tretter
2018-04-10 9:06 ` [ptxdist] [PATCH 2/4] wayland: version bump 1.14 -> 1.15 Michael Tretter
2018-04-10 9:06 ` [ptxdist] [PATCH 3/4] weston: version bump 3.0.0 -> 4.0.0 Michael Tretter
2018-04-10 14:27 ` Michael Olbrich
2018-04-10 14:59 ` Philipp Zabel
2018-04-10 15:31 ` Michael Tretter
2018-04-10 9:06 ` [ptxdist] [PATCH 4/4] weston: make dbus and weston-launch configurable Michael Tretter
2018-04-10 14:31 ` Michael Olbrich
2018-04-10 15:26 ` Michael Tretter
2018-04-11 10:03 ` [ptxdist] [PATCH v2 0/4] wayland, weston: version bump Michael Tretter
2018-04-11 10:03 ` [ptxdist] [PATCH v2 1/4] wayland-protocols: version bump 1.12 -> 1.13 Michael Tretter
2018-04-11 10:03 ` [ptxdist] [PATCH v2 2/4] wayland: version bump 1.14 -> 1.15 Michael Tretter
2018-04-11 10:03 ` [ptxdist] [PATCH v2 3/4] weston: version bump 3.0.0 -> 4.0.0 Michael Tretter
2018-04-11 10:03 ` Michael Tretter [this message]
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=20180411100357.13033-5-m.tretter@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox