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 <b...@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 via email to