Skip to contentSkip to conversation

lxc: update comment about the headers >= 3.0 dependency

PATCH New Thomas Petazzoni 2 participants 2 messages Mar 17, 2016 – Mar 18, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lxc: update comment about the headers >= 3.0 dependency

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.

---
 package/lxc/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/lxc/Config.in +1 -1
index 3253f14..6a39d2e 100644
@@ -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
Signature · 1 line
2.6.4
#1 lore raw

PATCH 1/1 lxc: update comment about the headers >= 3.0 dependency

Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

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.

Quoted 5 lines

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.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard