lxc: update comment about the headers >= 3.0 dependency
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 17 Mar 2016 13:34:11 +0000 (14:34 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 18 Mar 2016 21:25:23 +0000 (22:25 +0100)
Since commit 604095fe9bea925f34ea05a5d80efbc3e9ba16f2 ("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>
package/lxc/Config.in

index 3253f144a6e3dd97823d9e5ac26cc32510451b38..6a39d2eb7f7da5f10137467504654ec7f33fe764 100644 (file)
@@ -5,7 +5,7 @@ config BR2_PACKAGE_LXC
        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 # libcap
+       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