b92b68b2a1
Since commit 604095fe9b
("libcap: add
patch to fix build issue with old kernel headers"), libcap builds fine
with headers < 3.0, so it is no longer the reason why lxc needs
headers >= 3.0.
However, lxc uses setns(), which is only available since kernel 3.0,
so we simply update the comment next to the dependency so that it is
accurate.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 lines
729 B
Plaintext
21 lines
729 B
Plaintext
config BR2_PACKAGE_LXC
|
|
bool "lxc"
|
|
select BR2_PACKAGE_LIBCAP
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
# build system forcefully builds a shared library
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # setns() system call
|
|
help
|
|
Linux Containers (LXC), provides the ability to group and isolate
|
|
of a set of processes in a jail by virtualizing and accounting the
|
|
kernel resources. It is similar to Linux-Vserver or Openvz.
|
|
|
|
https://linuxcontainers.org/
|
|
|
|
comment "lxc needs a toolchain w/ threads, headers >= 3.0, dynamic library"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|| !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|
|
|| BR2_STATIC_LIBS
|