From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH 2/2] cog: add option to install cogctl
Date: Thu, 15 Apr 2021 12:29:23 +0200 [thread overview]
Message-ID: <20210415102923.21134-2-bst@pengutronix.de> (raw)
In-Reply-To: <20210415102923.21134-1-bst@pengutronix.de>
cogctl is a commandline tool to control a running cog instance via
D-Bus.
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
rules/cog.in | 5 +++++
rules/cog.make | 4 ++++
2 files changed, 9 insertions(+)
diff --git a/rules/cog.in b/rules/cog.in
index ccc736295..81313c636 100644
--- a/rules/cog.in
+++ b/rules/cog.in
@@ -18,4 +18,9 @@ config COG_REMOTE_DBUS_SYSTEM_BUS
bool
prompt "Expose remote control interface on system bus"
+config COG_COGCTL
+ bool
+ select COG_REMOTE_DBUS_SYSTEM_BUS
+ prompt "Install cogctl"
+
endif
diff --git a/rules/cog.make b/rules/cog.make
index 445c76617..3fd9f929a 100644
--- a/rules/cog.make
+++ b/rules/cog.make
@@ -69,6 +69,10 @@ ifdef PTXCONF_COG_REMOTE_DBUS_SYSTEM_BUS
/usr/share/dbus-1/system.d/com.igalia.Cog.conf)
endif
+ifdef PTXCONF_COG_COGCTL
+ @$(call install_copy, cog, 0, 0, 0755, -, /usr/bin/cogctl)
+endif
+
@$(call install_finish, cog)
@$(call touch)
--
2.29.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next prev parent reply other threads:[~2021-04-15 10:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-15 10:29 [ptxdist] [PATCH 1/2] cog: add option to control cog via D-Bus system bus Bastian Krause
2021-04-15 10:29 ` Bastian Krause [this message]
2021-04-23 13:47 ` [ptxdist] [APPLIED] cog: add option to install cogctl Michael Olbrich
2021-04-23 13:47 ` [ptxdist] [APPLIED] cog: add option to control cog via D-Bus system bus Michael Olbrich
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=20210415102923.21134-2-bst@pengutronix.de \
--to=bst@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