mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] util-linux-ng: make nsenter configurable
Date: Fri, 10 Mar 2017 10:46:57 +0100	[thread overview]
Message-ID: <20170310094657.hdslzf6a6u4d4onl@pengutronix.de> (raw)
In-Reply-To: <20170306114218.1684-1-bst@pengutronix.de>

On Mon, Mar 06, 2017 at 12:42:18PM +0100, Bastian Stender wrote:
> nsenter is useful to enter a namespace of a process.
> 
> Signed-off-by: Bastian Stender <bst@pengutronix.de>

Thanks, applied,

Michael

> ---
>  rules/util-linux-ng.in   | 6 ++++++
>  rules/util-linux-ng.make | 5 ++++-
>  2 files changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
> index 1478a2ff4..dafe3d835 100644
> --- a/rules/util-linux-ng.in
> +++ b/rules/util-linux-ng.in
> @@ -86,6 +86,12 @@ config UTIL_LINUX_NG_DMESG
>  comment "BusyBox' dmesg is selected!"
>  	depends on BUSYBOX_DMESG
>  
> +config UTIL_LINUX_NG_NSENTER
> +	bool
> +	prompt "nsenter"
> +	help
> +	  The nsenter utility
> +
>  config UTIL_LINUX_NG_MOUNTPOINT
>  	bool
>  	select UTIL_LINUX_NG_LIBMOUNT
> diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
> index 49184a9b0..1682c2188 100644
> --- a/rules/util-linux-ng.make
> +++ b/rules/util-linux-ng.make
> @@ -76,7 +76,7 @@ UTIL_LINUX_NG_CONF_OPT	:= \
>  	--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_MOUNTPOINT)-mountpoint \
>  	--disable-fallocate \
>  	--disable-unshare \
> -	--disable-nsenter \
> +	--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_NSENTER)-nsenter \
>  	--disable-setpriv \
>  	--disable-eject \
>  	--$(call ptx/endis, PTXCONF_UTIL_LINUX_NG_AGETTY)-agetty \
> @@ -193,6 +193,9 @@ endif
>  ifdef PTXCONF_UTIL_LINUX_NG_MOUNTPOINT
>  	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /bin/mountpoint)
>  endif
> +ifdef PTXCONF_UTIL_LINUX_NG_NSENTER
> +	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/nsenter)
> +endif
>  ifdef PTXCONF_UTIL_LINUX_NG_ADDPART
>  	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/addpart)
>  endif
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2017-03-10  9:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-06 11:42 Bastian Stender
2017-03-10  9:46 ` Michael Olbrich [this message]

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=20170310094657.hdslzf6a6u4d4onl@pengutronix.de \
    --to=m.olbrich@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