mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
35
package/containerd/Config.in
Normal file
35
package/containerd/Config.in
Normal file
@@ -0,0 +1,35 @@
|
||||
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 # 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
|
||||
3
package/containerd/containerd.hash
Normal file
3
package/containerd/containerd.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Computed locally
|
||||
sha256 d14c703ea6d60a45ef2db8f2275ddae6a3538305117c7813fa24dcf12f4b7d85 containerd-1.5.16.tar.gz
|
||||
sha256 4bbe3b885e8cd1907ab4cf9a41e862e74e24b5422297a4f2fe524e6a30ada2b4 LICENSE
|
||||
44
package/containerd/containerd.mk
Normal file
44
package/containerd/containerd.mk
Normal file
@@ -0,0 +1,44 @@
|
||||
################################################################################
|
||||
#
|
||||
# containerd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CONTAINERD_VERSION = 1.5.16
|
||||
CONTAINERD_SITE = $(call github,containerd,containerd,v$(CONTAINERD_VERSION))
|
||||
CONTAINERD_LICENSE = Apache-2.0
|
||||
CONTAINERD_LICENSE_FILES = LICENSE
|
||||
CONTAINERD_CPE_ID_VENDOR = linuxfoundation
|
||||
CONTAINERD_CPE_ID_PRODUCT = containerd
|
||||
|
||||
CONTAINERD_GOMOD = github.com/containerd/containerd
|
||||
|
||||
CONTAINERD_LDFLAGS = \
|
||||
-X $(CONTAINERD_GOMOD)/version.Version=$(CONTAINERD_VERSION)
|
||||
|
||||
CONTAINERD_BUILD_TARGETS = \
|
||||
cmd/containerd \
|
||||
cmd/containerd-shim \
|
||||
cmd/containerd-shim-runc-v1 \
|
||||
cmd/containerd-shim-runc-v2 \
|
||||
cmd/ctr
|
||||
|
||||
CONTAINERD_INSTALL_BINS = $(notdir $(CONTAINERD_BUILD_TARGETS))
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y)
|
||||
CONTAINERD_DEPENDENCIES += libapparmor
|
||||
CONTAINERD_TAGS += apparmor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSECCOMP),y)
|
||||
CONTAINERD_DEPENDENCIES += libseccomp host-pkgconf
|
||||
CONTAINERD_TAGS += seccomp
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_CONTAINERD_DRIVER_BTRFS),y)
|
||||
CONTAINERD_DEPENDENCIES += btrfs-progs
|
||||
else
|
||||
CONTAINERD_TAGS += no_btrfs
|
||||
endif
|
||||
|
||||
$(eval $(golang-package))
|
||||
Reference in New Issue
Block a user