diff options
Diffstat (limited to 'recipes-containers/containerd/containerd-opencontainers')
3 files changed, 0 insertions, 95 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 deleted file mode 100644 index 63498a86..00000000 --- a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 474b93f8f643651144304a6971ef476add7f06f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Tue, 25 May 2021 12:49:41 -0400 | ||
4 | Subject: [PATCH] Makefile: allow GO_BUILD_FLAGS to be externally specified | ||
5 | |||
6 | Since our oe-core go infrastructure insists on both -pie and static | ||
7 | builds (for the most part), and that is not recommended by many | ||
8 | packages, we end up with errors like: | ||
9 | |||
10 | cannot find package runtime/cgo (using -importcfg) | ||
11 | ... | ||
12 | recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: | ||
13 | cannot open file : open : no such file or directory | ||
14 | |||
15 | Upstream-Status: Inappropriate [specific to OE go configuration and build] | ||
16 | |||
17 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
18 | --- | ||
19 | Makefile | 3 ++- | ||
20 | 1 file changed, 2 insertions(+), 1 deletion(-) | ||
21 | |||
22 | Index: containerd/Makefile | ||
23 | =================================================================== | ||
24 | --- containerd.orig/Makefile | ||
25 | +++ containerd/Makefile | ||
26 | @@ -129,7 +129,8 @@ | ||
27 | GOPATHS=$(shell $(GO) env GOPATH | tr ":" "\n" | tr ";" "\n") | ||
28 | |||
29 | TESTFLAGS_RACE= | ||
30 | -GO_BUILD_FLAGS ?= | ||
31 | +# allow flags to be exported and picked up. | ||
32 | +# GO_BUILD_FLAGS ?= | ||
33 | # See Golang issue re: '-trimpath': https://github.com/golang/go/issues/13809 | ||
34 | GO_GCFLAGS=$(shell \ | ||
35 | set -- ${GOPATHS}; \ | ||
diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch b/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch deleted file mode 100644 index 74e313b5..00000000 --- a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From eb39888898a9d196e3eb63724c6c07777f3b9402 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Wed, 24 Apr 2024 14:10:11 +0800 | ||
4 | Subject: [PATCH] Makefile: update default PACKAGE to v2 | ||
5 | |||
6 | Upstream-Status: Submitted [https://github.com/containerd/containerd/pull/10125] | ||
7 | |||
8 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
9 | --- | ||
10 | Makefile | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/Makefile b/Makefile | ||
14 | index a5b244191..cb9ff4172 100644 | ||
15 | --- a/Makefile | ||
16 | +++ b/Makefile | ||
17 | @@ -34,7 +34,7 @@ TEST_IMAGE_LIST ?= | ||
18 | # Used to populate variables in version package. | ||
19 | VERSION ?= $(shell git describe --match 'v[0-9]*' --dirty='.m' --always) | ||
20 | REVISION ?= $(shell git rev-parse HEAD)$(shell if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi) | ||
21 | -PACKAGE=github.com/containerd/containerd | ||
22 | +PACKAGE=github.com/containerd/containerd/v2 | ||
23 | SHIM_CGO_ENABLED ?= 0 | ||
24 | |||
25 | ifneq "$(strip $(shell command -v $(GO) 2>/dev/null))" "" | ||
26 | -- | ||
27 | 2.25.1 | ||
28 | |||
diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch b/recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch deleted file mode 100644 index 62580c6c..00000000 --- a/recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | From 9174091fa1624dbb09ce812792a4102dff693541 Mon Sep 17 00:00:00 2001 | ||
2 | From: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
3 | Date: Mon, 12 Sep 2022 15:40:08 -0400 | ||
4 | Subject: [PATCH] build: don't use gcflags to define trimpath | ||
5 | |||
6 | We can pass trimpath in via environment variables. The gcflags | ||
7 | definition of trimpath is for older go versions and is using the | ||
8 | complete path for trimming. If the variable is captured in the | ||
9 | resulting binary, we have a reproducibility and QA issue. | ||
10 | |||
11 | Upstream-Status: Inappropriate [embedded specific] | ||
12 | |||
13 | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | ||
14 | --- | ||
15 | Makefile | 1 - | ||
16 | 1 file changed, 1 deletion(-) | ||
17 | |||
18 | diff --git git.orig/Makefile git.orig/Makefile | ||
19 | index 4a6c13042..debb57925 100644 | ||
20 | --- git.orig/Makefile | ||
21 | +++ git.orig/Makefile | ||
22 | @@ -130,7 +130,6 @@ TESTFLAGS_RACE= | ||
23 | # See Golang issue re: '-trimpath': https://github.com/golang/go/issues/13809 | ||
24 | GO_GCFLAGS=$(shell \ | ||
25 | set -- ${GOPATHS}; \ | ||
26 | - echo "-gcflags=-trimpath=$${1}/src"; \ | ||
27 | ) | ||
28 | |||
29 | BINARIES=$(addprefix bin/,$(COMMANDS)) | ||
30 | -- | ||
31 | 2.19.1 | ||
32 | |||