aboutsummaryrefslogtreecommitdiff
path: root/package/docker-containerd/Config.in
blob: ffa2b208f2e56e67b49f9a6cf2b258619aaf24f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
config BR2_PACKAGE_DOCKER_CONTAINERD
	bool "docker-containerd"
	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 # runc
	depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM # runc
	depends on BR2_USE_MMU # util-linux
	select BR2_PACKAGE_RUNC # runtime dependency
	select BR2_PACKAGE_UTIL_LINUX # runtime dependency
	select BR2_PACKAGE_UTIL_LINUX_BINARIES
	select BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT
	select BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT
	select BR2_PACKAGE_UTIL_LINUX_MOUNT
	help
	  containerd is a daemon to control runC.

	  https://github.com/docker/containerd

if BR2_PACKAGE_DOCKER_CONTAINERD

config BR2_PACKAGE_DOCKER_CONTAINERD_DRIVER_BTRFS
	bool "btrfs snapshot driver"
	depends on BR2_USE_MMU # btrfs-progs
	depends on BR2_TOOLCHAIN_HAS_THREADS # btrfs-progs
	select BR2_PACKAGE_BTRFS_PROGS
	help
	  Build the btrfs snapshot driver for containerd.

endif

comment "docker-containerd needs a glibc or musl toolchain w/ threads"
	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
	depends on BR2_USE_MMU
	depends on !BR2_TOOLCHAIN_HAS_THREADS || \
		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_11 || BR2_TOOLCHAIN_USES_UCLIBC
	depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM