From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 18 Sep 2024 15:32:41 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1squnR-005j7H-2U for lore@lore.pengutronix.de; Wed, 18 Sep 2024 15:32:41 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1squnQ-0000Un-Tt; Wed, 18 Sep 2024 15:32:40 +0200 Received: from dude04.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::ac]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1squn8-0000Ud-3O; Wed, 18 Sep 2024 15:32:22 +0200 From: Bastian Krause To: ptxdist@pengutronix.de Date: Wed, 18 Sep 2024 15:32:14 +0200 Message-Id: <20240918133214.599106-1-bst@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] procps: add pidwait X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Bastian Krause Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Signed-off-by: Bastian Krause --- 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