From: Bastian Krause <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bastian Krause <bst@pengutronix.de>
Subject: [ptxdist] [PATCH] procps: add pidwait
Date: Wed, 18 Sep 2024 15:32:14 +0200 [thread overview]
Message-ID: <20240918133214.599106-1-bst@pengutronix.de> (raw)
Signed-off-by: Bastian Krause <bst@pengutronix.de>
---
rules/procps.in | 6 ++++++
rules/procps.make | 3 +++
2 files changed, 9 insertions(+)
diff --git a/rules/procps.in b/rules/procps.in
index 1084ede59..1d8c9e35c 100644
--- a/rules/procps.in
+++ b/rules/procps.in
@@ -48,6 +48,12 @@ config PROCPS_PGREP
comment "busybox' pgrep is selected!"
depends on BUSYBOX_PGREP
+config PROCPS_PIDWAIT
+ bool
+ prompt "pidwait"
+ help
+ The pidwait program can wait for running processes.
+
config PROCPS_PIDOF
bool
prompt "pidof"
diff --git a/rules/procps.make b/rules/procps.make
index 40110d909..44153fe06 100644
--- a/rules/procps.make
+++ b/rules/procps.make
@@ -89,6 +89,9 @@ endif
ifdef PTXCONF_PROCPS_PIDOF
@$(call install_copy, procps, 0, 0, 0755, -, /usr/bin/pidof)
endif
+ifdef PTXCONF_PROCPS_PIDWAIT
+ @$(call install_copy, procps, 0, 0, 0755, -, /usr/bin/pidwait)
+endif
ifdef PTXCONF_PROCPS_PKILL
@$(call install_copy, procps, 0, 0, 0755, -, /usr/bin/pkill)
endif
--
2.39.5
next reply other threads:[~2024-09-18 13:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 13:32 Bastian Krause [this message]
2024-09-24 15:07 ` [ptxdist] [APPLIED] " 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=20240918133214.599106-1-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