mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
util-linux: Add an option to compile 'nsenter' binary.
nsenter is a tool to enter the namespace of another process. [Thomas: add dependency to 3.0 kernel headers, since the setns() system call was added in Linux 3.0.] Signed-off-by: Nicolas Cavallari <nicolas.cavallari@green-communications.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
1696f254aa
commit
21d6e4ea45
@ -118,6 +118,15 @@ config BR2_PACKAGE_UTIL_LINUX_MESG
|
|||||||
help
|
help
|
||||||
Control write access to your terminal
|
Control write access to your terminal
|
||||||
|
|
||||||
|
config BR2_PACKAGE_UTIL_LINUX_NSENTER
|
||||||
|
bool "nsenter"
|
||||||
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
||||||
|
help
|
||||||
|
Enter the namespaces of another process.
|
||||||
|
|
||||||
|
comment "nsenter needs a toolchain w/ headers >= 3.0"
|
||||||
|
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
||||||
|
|
||||||
config BR2_PACKAGE_UTIL_LINUX_MOUNT
|
config BR2_PACKAGE_UTIL_LINUX_MOUNT
|
||||||
bool "mount/umount"
|
bool "mount/umount"
|
||||||
help
|
help
|
||||||
|
@ -74,6 +74,7 @@ UTIL_LINUX_CONF_OPTS += \
|
|||||||
$(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_LOGIN_UTILS),--enable-last --enable-login --enable-su --enable-sulogin,--disable-last --disable-login --disable-su --disable-sulogin) \
|
||||||
$(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \
|
$(if $(BR2_PACKAGE_UTIL_LINUX_LOSETUP),--enable-losetup,--disable-losetup) \
|
||||||
$(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \
|
$(if $(BR2_PACKAGE_UTIL_LINUX_MESG),--enable-mesg,--disable-mesg) \
|
||||||
|
$(if $(BR2_PACKAGE_UTIL_LINUX_NSENTER),--enable-nsenter,--disable-nsenter) \
|
||||||
$(if $(BR2_PACKAGE_UTIL_LINUX_MOUNT),--enable-mount,--disable-mount) \
|
$(if $(BR2_PACKAGE_UTIL_LINUX_MOUNT),--enable-mount,--disable-mount) \
|
||||||
$(if $(BR2_PACKAGE_UTIL_LINUX_NEWGRP),--enable-newgrp,--disable-newgrp) \
|
$(if $(BR2_PACKAGE_UTIL_LINUX_NEWGRP),--enable-newgrp,--disable-newgrp) \
|
||||||
$(if $(BR2_PACKAGE_UTIL_LINUX_PARTX),--enable-partx,--disable-partx) \
|
$(if $(BR2_PACKAGE_UTIL_LINUX_PARTX),--enable-partx,--disable-partx) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user