Config.in 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. config BR2_PACKAGE_CONTAINERD
  2. bool "containerd"
  3. depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
  4. depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
  5. depends on BR2_TOOLCHAIN_HAS_THREADS
  6. depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc
  7. depends on BR2_USE_MMU # util-linux
  8. select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime dependency
  9. select BR2_PACKAGE_UTIL_LINUX # runtime dependency
  10. select BR2_PACKAGE_UTIL_LINUX_BINARIES
  11. select BR2_PACKAGE_UTIL_LINUX_PIVOT_ROOT
  12. select BR2_PACKAGE_UTIL_LINUX_MOUNTPOINT
  13. select BR2_PACKAGE_UTIL_LINUX_MOUNT
  14. help
  15. containerd is a daemon to control runC.
  16. https://containerd.io/
  17. if BR2_PACKAGE_CONTAINERD
  18. config BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS
  19. bool "btrfs snapshot driver"
  20. depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  21. help
  22. Build the btrfs snapshot driver for containerd.
  23. comment "brtfs snapshot driver needs headers >= 4.12"
  24. depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_12
  25. config BR2_PACKAGE_CONTAINERD_DRIVER_DEVMAPPER
  26. bool "devmapper snapshot driver"
  27. depends on BR2_TOOLCHAIN_HAS_THREADS # lvm2
  28. depends on BR2_USE_MMU # lvm2
  29. depends on !BR2_STATIC_LIBS # lvm2
  30. select BR2_PACKAGE_LVM2
  31. help
  32. Build the devmapper snapshot driver for containerd.
  33. comment "devmapper snapshot driver needs a toolchain w/ threads, dynamic library"
  34. depends on BR2_USE_MMU
  35. depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
  36. config BR2_PACKAGE_CONTAINERD_DRIVER_ZFS
  37. bool "zfs snapshot driver"
  38. depends on BR2_LINUX_KERNEL # zfs
  39. depends on BR2_PACKAGE_HAS_UDEV # zfs
  40. depends on BR2_USE_MMU # zfs
  41. depends on BR2_TOOLCHAIN_HAS_THREADS # zfs
  42. select BR2_PACKAGE_ZFS
  43. help
  44. Build the zfs snapshot driver for containerd.
  45. comment "zfs snapshot driver needs a Linux kernel, udev, toolchain w/ threads"
  46. depends on BR2_USE_MMU
  47. depends on !BR2_LINUX_KERNEL || !BR2_PACKAGE_HAS_UDEV || \
  48. !BR2_TOOLCHAIN_HAS_THREADS
  49. config BR2_PACKAGE_CONTAINERD_CRI
  50. bool "Kubernetes CRI support"
  51. help
  52. Build containerd with Kubernetes CRI support.
  53. endif
  54. comment "containerd needs a glibc or musl toolchain w/ threads"
  55. depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
  56. depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
  57. depends on BR2_USE_MMU
  58. depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC