From 9f91d79601da42516752318beecfd080dc05aac9 Mon Sep 17 00:00:00 2001 From: Shawn Landden Date: Sun, 8 Dec 2013 16:07:41 -0800 Subject: [PATCH] util-linux: add nsenter option [Peter: adjust white space and commit message] Signed-off-by: Shawn Landden Signed-off-by: Peter Korsgaard --- package/util-linux/Config.in | 5 +++++ package/util-linux/util-linux.mk | 1 + 2 files changed, 6 insertions(+) diff --git a/package/util-linux/Config.in b/package/util-linux/Config.in index 8c8fd7ab5c..ed19f39160 100644 --- a/package/util-linux/Config.in +++ b/package/util-linux/Config.in @@ -106,6 +106,11 @@ config BR2_PACKAGE_UTIL_LINUX_MOUNT help Mount/unmount filesystems +config BR2_PACKAGE_UTIL_LINUX_NSENTER + bool "nsenter" + help + Enter namespaces (setns(2) frontend) + config BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT bool "pivot_root" help diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk index 20b3d3558a..5e689f8646 100644 --- a/package/util-linux/util-linux.mk +++ b/package/util-linux/util-linux.mk @@ -62,6 +62,7 @@ UTIL_LINUX_CONF_OPT += \ $(if $(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),--enable-last --enable-login --enable-su --enable-sulogin,--disable-last --disable-login --disable-su --disable-sulogin) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \ $(if $(BR2_PACKAGE_UTIL_LINUX_MOUNT),--enable-mount,--disable-mount) \ + $(if $(BR2_PACKAGE_UTIL_LINUX_NSENTER),--enable-nsenter,--disable-nsenter) \ $(if $(BR2_PACKAGE_UTIL_LINUX_PARTX),,--disable-partx) \ $(if $(BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT),--enable-pivot_root,--disable-pivot_root) \ $(if $(BR2_PACKAGE_UTIL_LINUX_RAW),--enable-raw,--disable-raw) \ -- 2.30.2