d0ecb9b280
crun is a drop-in replacement for runc. If crun is enabled, but runc is not, we already install an impersonation symlink, so we do not need to force runc if crun is enabled. Still, runc is the default if crun is not enabled. Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com> Reviewed-by: Christian Stewart <christian@paral.in> [yann.morin.1998@free.fr: split into its own patch] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
config BR2_PACKAGE_CONTAINERD
|
|
bool "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_USES_UCLIBC # runc
|
|
depends on BR2_USE_MMU # util-linux
|
|
select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # 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://containerd.io/
|
|
|
|
if BR2_PACKAGE_CONTAINERD
|
|
|
|
config BR2_PACKAGE_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 "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_USES_UCLIBC
|