Browse Source

lxc: needs setns system call, disable on nios2

Fixes http://autobuild.buildroot.net/results/f59/f592a011321429426be81bd1ecf664ad9a2c0161/

Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Ezequiel García 11 years ago
parent
commit
1358a2e802
1 changed files with 2 additions and 0 deletions
  1. 2 0
      package/lxc/Config.in

+ 2 - 0
package/lxc/Config.in

@@ -6,6 +6,7 @@ config BR2_PACKAGE_LXC
 	depends on BR2_LARGEFILE
 	depends on BR2_LARGEFILE
 	depends on BR2_USE_MMU # fork()
 	depends on BR2_USE_MMU # fork()
 	depends on !BR2_avr32 # no timerfd
 	depends on !BR2_avr32 # no timerfd
+	depends on !BR2_nios2 # the toolchain doesn't support setns syscall
 	help
 	help
 	  Linux Containers (LXC), provides the ability to group and isolate
 	  Linux Containers (LXC), provides the ability to group and isolate
 	  of a set of processes in a jail by virtualizing and accounting the
 	  of a set of processes in a jail by virtualizing and accounting the
@@ -16,4 +17,5 @@ config BR2_PACKAGE_LXC
 comment "lxc needs a toolchain w/ IPv6, threads, largefile"
 comment "lxc needs a toolchain w/ IPv6, threads, largefile"
 	depends on BR2_USE_MMU
 	depends on BR2_USE_MMU
 	depends on !BR2_avr32 # no timerfd
 	depends on !BR2_avr32 # no timerfd
+	depends on !BR2_nios2 # the toolchain doesn't support setns syscall
 	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE
 	depends on !BR2_INET_IPV6 || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_LARGEFILE