diff options
2 files changed, 8 insertions, 11 deletions
diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch b/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch index 3a69d76d..63498a86 100644 --- a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch +++ b/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch | |||
@@ -23,13 +23,13 @@ Index: containerd/Makefile | |||
23 | =================================================================== | 23 | =================================================================== |
24 | --- containerd.orig/Makefile | 24 | --- containerd.orig/Makefile |
25 | +++ containerd/Makefile | 25 | +++ containerd/Makefile |
26 | @@ -127,7 +127,8 @@ | 26 | @@ -129,7 +129,8 @@ |
27 | GOPATHS=$(shell go env GOPATH | tr ":" "\n" | tr ";" "\n") | 27 | GOPATHS=$(shell $(GO) env GOPATH | tr ":" "\n" | tr ";" "\n") |
28 | 28 | ||
29 | TESTFLAGS_RACE= | 29 | TESTFLAGS_RACE= |
30 | -GO_BUILD_FLAGS= | 30 | -GO_BUILD_FLAGS ?= |
31 | +# allow flags to be exported and picked up. | 31 | +# allow flags to be exported and picked up. |
32 | +# GO_BUILD_FLAGS= | 32 | +# GO_BUILD_FLAGS ?= |
33 | # See Golang issue re: '-trimpath': https://github.com/golang/go/issues/13809 | 33 | # See Golang issue re: '-trimpath': https://github.com/golang/go/issues/13809 |
34 | GO_GCFLAGS=$(shell \ | 34 | GO_GCFLAGS=$(shell \ |
35 | set -- ${GOPATHS}; \ | 35 | set -- ${GOPATHS}; \ |
diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb index 78fe6941..5c1e1274 100644 --- a/recipes-containers/containerd/containerd-opencontainers_git.bb +++ b/recipes-containers/containerd/containerd-opencontainers_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 | ||
8 | SRCREV = "5e21abb181c92adc95636edf983bdf639f0ceb60" | 8 | SRCREV = "87bf39a7f5580a86df739a787ced9664d1dc11bd" |
9 | SRC_URI = "git://github.com/containerd/containerd;branch=release/1.7;protocol=https;destsuffix=git/src/github.com/containerd/containerd \ | 9 | SRC_URI = "git://github.com/containerd/containerd;branch=main;protocol=https;destsuffix=git/src/github.com/containerd/containerd \ |
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 | " | 12 | " |
@@ -15,8 +15,8 @@ SRC_URI = "git://github.com/containerd/containerd;branch=release/1.7;protocol=ht | |||
15 | LICENSE = "Apache-2.0" | 15 | LICENSE = "Apache-2.0" |
16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1269f40c0d099c21a871163984590d89" | 16 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1269f40c0d099c21a871163984590d89" |
17 | 17 | ||
18 | CONTAINERD_VERSION = "v1.7.7" | 18 | CONTAINERD_VERSION = "v2.0.0-beta.0" |
19 | CVE_VERSION = "v1.7.7" | 19 | CVE_VERSION = "v2.0.0-beta.0" |
20 | 20 | ||
21 | # EXTRA_OEMAKE += "GODEBUG=1" | 21 | # EXTRA_OEMAKE += "GODEBUG=1" |
22 | 22 | ||
@@ -73,13 +73,10 @@ do_install() { | |||
73 | mkdir -p ${D}/${bindir} | 73 | mkdir -p ${D}/${bindir} |
74 | 74 | ||
75 | cp ${S}/bin/containerd ${D}/${bindir}/containerd | 75 | cp ${S}/bin/containerd ${D}/${bindir}/containerd |
76 | cp ${S}/bin/containerd-shim ${D}/${bindir}/containerd-shim | ||
77 | cp ${S}/bin/containerd-shim-runc-v1 ${D}/${bindir}/containerd-shim-runc-v1 | ||
78 | cp ${S}/bin/containerd-shim-runc-v2 ${D}/${bindir}/containerd-shim-runc-v2 | 76 | cp ${S}/bin/containerd-shim-runc-v2 ${D}/${bindir}/containerd-shim-runc-v2 |
79 | cp ${S}/bin/ctr ${D}/${bindir}/containerd-ctr | 77 | cp ${S}/bin/ctr ${D}/${bindir}/containerd-ctr |
80 | 78 | ||
81 | ln -sf containerd ${D}/${bindir}/docker-containerd | 79 | ln -sf containerd ${D}/${bindir}/docker-containerd |
82 | ln -sf containerd-shim ${D}/${bindir}/docker-containerd-shim | ||
83 | ln -sf containerd-ctr ${D}/${bindir}/docker-containerd-ctr | 80 | ln -sf containerd-ctr ${D}/${bindir}/docker-containerd-ctr |
84 | 81 | ||
85 | ln -sf containerd-ctr ${D}/${bindir}/ctr | 82 | ln -sf containerd-ctr ${D}/${bindir}/ctr |