From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] utils-linux-ng: Add ipcrm
Date: Mon, 7 May 2012 21:07:32 +0200 [thread overview]
Message-ID: <1336417652-1512-1-git-send-email-bernhard@bwalle.de> (raw)
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
next reply other threads:[~2012-05-07 19:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-07 19:07 Bernhard Walle [this message]
2012-05-08 14:14 ` Marc Kleine-Budde
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=1336417652-1512-1-git-send-email-bernhard@bwalle.de \
--to=bernhard@bwalle.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