Bump Buildroot to 2021.02-rc3 (#1260)
* Rebase patches to Buildroot 2021.02-rc3 * Update Buildroot to 2021.02-rc3 * Declare Kernel headers to be Linux version 5.10 (since they are, and new Buildroot knows about 5.10)
This commit is contained in:
@@ -8,15 +8,27 @@ DOCKER_CONTAINERD_VERSION = 1.4.3
|
||||
DOCKER_CONTAINERD_SITE = $(call github,containerd,containerd,v$(DOCKER_CONTAINERD_VERSION))
|
||||
DOCKER_CONTAINERD_LICENSE = Apache-2.0
|
||||
DOCKER_CONTAINERD_LICENSE_FILES = LICENSE
|
||||
DOCKER_CONTAINERD_CPE_ID_VENDOR = linuxfoundation
|
||||
DOCKER_CONTAINERD_CPE_ID_PRODUCT = containerd
|
||||
|
||||
DOCKER_CONTAINERD_GOMOD = github.com/containerd/containerd
|
||||
|
||||
DOCKER_CONTAINERD_LDFLAGS = \
|
||||
-X $(DOCKER_CONTAINERD_GOMOD)/version.Version=$(DOCKER_CONTAINERD_VERSION)
|
||||
|
||||
DOCKER_CONTAINERD_BUILD_TARGETS = cmd/ctr cmd/containerd cmd/containerd-shim
|
||||
DOCKER_CONTAINERD_BUILD_TARGETS = \
|
||||
cmd/containerd \
|
||||
cmd/containerd-shim \
|
||||
cmd/containerd-shim-runc-v1 \
|
||||
cmd/containerd-shim-runc-v2 \
|
||||
cmd/ctr
|
||||
|
||||
DOCKER_CONTAINERD_INSTALL_BINS = containerd containerd-shim
|
||||
DOCKER_CONTAINERD_INSTALL_BINS = $(notdir $(DOCKER_CONTAINERD_BUILD_TARGETS))
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y)
|
||||
DOCKER_CONTAINERD_DEPENDENCIES += libapparmor
|
||||
DOCKER_CONTAINERD_TAGS += apparmor
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBAPPARMOR),y)
|
||||
DOCKER_CONTAINERD_DEPENDENCIES += libapparmor
|
||||
@@ -34,12 +46,4 @@ else
|
||||
DOCKER_CONTAINERD_TAGS += no_btrfs
|
||||
endif
|
||||
|
||||
define DOCKER_CONTAINERD_INSTALL_SYMLINKS
|
||||
ln -fs runc $(TARGET_DIR)/usr/bin/docker-runc
|
||||
ln -fs containerd-shim $(TARGET_DIR)/usr/bin/docker-containerd-shim
|
||||
ln -fs containerd $(TARGET_DIR)/usr/bin/docker-containerd
|
||||
endef
|
||||
|
||||
DOCKER_CONTAINERD_POST_INSTALL_TARGET_HOOKS += DOCKER_CONTAINERD_INSTALL_SYMLINKS
|
||||
|
||||
$(eval $(golang-package))
|
||||
|
||||
Reference in New Issue
Block a user