summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-containers/containerd/containerd_git.bb11
1 files changed, 7 insertions, 4 deletions
diff --git a/recipes-containers/containerd/containerd_git.bb b/recipes-containers/containerd/containerd_git.bb
index bae86146..081cf354 100644
--- a/recipes-containers/containerd/containerd_git.bb
+++ b/recipes-containers/containerd/containerd_git.bb
@@ -5,8 +5,8 @@ DESCRIPTION = "containerd is a daemon to control runC, built for performance and
5 support as well as checkpoint and restore for cloning and live migration of containers." 5 support as well as checkpoint and restore for cloning and live migration of containers."
6 6
7 7
8SRCREV = "30bd62aac620aa34e6fcb826f011a41f9ca16aa1" 8SRCREV = "a7e49900aa74c23f294fe050f88f2bbfcdaadd2a"
9SRC_URI = "git://github.com/containerd/containerd;branch=release/2.1;protocol=https;destsuffix=git/src/github.com/containerd/containerd/v2 \ 9SRC_URI = "git://github.com/containerd/containerd;branch=main;protocol=https;destsuffix=git/src/github.com/containerd/containerd/v2 \
10 file://0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch \ 10 file://0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch \
11 file://0001-build-don-t-use-gcflags-to-define-trimpath.patch \ 11 file://0001-build-don-t-use-gcflags-to-define-trimpath.patch \
12 file://cni-containerd-net.conflist \ 12 file://cni-containerd-net.conflist \
@@ -16,7 +16,7 @@ SRC_URI = "git://github.com/containerd/containerd;branch=release/2.1;protocol=ht
16LICENSE = "Apache-2.0" 16LICENSE = "Apache-2.0"
17LIC_FILES_CHKSUM = "file://LICENSE;md5=1269f40c0d099c21a871163984590d89" 17LIC_FILES_CHKSUM = "file://LICENSE;md5=1269f40c0d099c21a871163984590d89"
18 18
19CONTAINERD_VERSION = "v2.1.4" 19CONTAINERD_VERSION = "v2.2.0-beta.1"
20 20
21# EXTRA_OEMAKE += "GODEBUG=1" 21# EXTRA_OEMAKE += "GODEBUG=1"
22 22
@@ -59,7 +59,10 @@ do_compile() {
59 # ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: 59 # ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link:
60 # cannot open file : open : no such file or directory 60 # cannot open file : open : no such file or directory
61 export GO_BUILD_FLAGS="-trimpath -a -pkgdir dontusecurrentpkgs" 61 export GO_BUILD_FLAGS="-trimpath -a -pkgdir dontusecurrentpkgs"
62 export GO111MODULE=off 62 # As of v2.2.0+ the GO11MODULE setting breaks the build (linking errors). It doesn't
63 # seem necessary anymore. Leaving it here for now as a breakcrumb if other errors pop
64 # up
65 # export GO111MODULE=off
63 66
64 cd ${S} 67 cd ${S}
65 68