mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] utils-linux-ng: Add ipcrm
@ 2012-05-07 19:07 Bernhard Walle
  2012-05-08 14:14 ` Marc Kleine-Budde
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Walle @ 2012-05-07 19:07 UTC (permalink / raw)
  To: ptxdist

Not only busybox provides an 'ipcrm' command, also util-linux-ng do. So
add this to the configuration and the Makefile with the usual busybox
check.

Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
 rules/util-linux-ng.in   |   11 +++++++++++
 rules/util-linux-ng.make |    3 +++
 2 Dateien geändert, 14 Zeilen hinzugefügt(+)

diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index da1c15c..70e026a 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -169,6 +169,17 @@ config UTIL_LINUX_NG_IPCS
 comment "BusyBox' ipcs is selected!"
 	depends on BUSYBOX_IPCS
 
+config UTIL_LINUX_NG_IPCRM
+	bool
+	prompt "ipcrm"
+	depends on !BUSYBOX_IPCRM || ALLYES
+	help
+	  ipcrm removes ipc facilities for which the calling process has
+	  read access.
+
+comment "BusyBox' ipcrm is selected!"
+	depends on BUSYBOX_IPCRM
+
 config UTIL_LINUX_NG_READPROFILE
 	bool
 	prompt "readprofile"
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index d9a3651..ceacc28 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -149,6 +149,9 @@ endif
 ifdef PTXCONF_UTIL_LINUX_NG_IPCS
 	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/ipcs)
 endif
+ifdef PTXCONF_UTIL_LINUX_NG_IPCRM
+	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/ipcrm)
+endif
 ifdef PTXCONF_UTIL_LINUX_NG_READPROFILE
 	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/readprofile)
 endif
-- 
1.7.10.1


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-05-08 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-07 19:07 [ptxdist] [PATCH] utils-linux-ng: Add ipcrm Bernhard Walle
2012-05-08 14:14 ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox