diff options
-rw-r--r-- | recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch | 27 | ||||
-rw-r--r-- | recipes-containers/runc/runc-opencontainers_git.bb | 6 |
2 files changed, 11 insertions, 22 deletions
diff --git a/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch b/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch index c855d7b5..4d35e58e 100644 --- a/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch +++ b/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch | |||
@@ -11,27 +11,16 @@ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> | |||
11 | Makefile | 3 +-- | 11 | Makefile | 3 +-- |
12 | 1 file changed, 1 insertion(+), 2 deletions(-) | 12 | 1 file changed, 1 insertion(+), 2 deletions(-) |
13 | 13 | ||
14 | diff --git a/src/import/Makefile b/src/import/Makefile | 14 | Index: git/src/import/Makefile |
15 | index efbddf0d..4b174c80 100644 | 15 | =================================================================== |
16 | --- a/src/import/Makefile | 16 | --- git.orig/src/import/Makefile |
17 | +++ b/src/import/Makefile | 17 | +++ git/src/import/Makefile |
18 | @@ -24,7 +24,7 @@ ifeq ($(shell $(GO) env GOOS),linux) | 18 | @@ -20,7 +20,7 @@ |
19 | endif | 19 | endif |
20 | endif | 20 | endif |
21 | endif | 21 | endif |
22 | -GO_BUILD := $(GO) build -trimpath $(MOD_VENDOR) $(GO_BUILDMODE) $(EXTRA_FLAGS) -tags "$(BUILDTAGS)" \ | 22 | -GO_BUILD := $(GO) build -trimpath $(GO_BUILDMODE) $(EXTRA_FLAGS) -tags "$(BUILDTAGS)" \ |
23 | +GO_BUILD := $(GO) build $(GOBUILDFLAGS) -trimpath $(MOD_VENDOR) $(GO_BUILDMODE) $(EXTRA_FLAGS) -tags "$(BUILDTAGS)" \ | 23 | +GO_BUILD := $(GO) build $(GOBUILDFLAGS) -trimpath $(GO_BUILDMODE) $(EXTRA_FLAGS) -tags "$(BUILDTAGS)" \ |
24 | -ldflags "-X main.gitCommit=$(COMMIT) -X main.version=$(VERSION) $(EXTRA_LDFLAGS)" | 24 | -ldflags "-X main.gitCommit=$(COMMIT) -X main.version=$(VERSION) $(EXTRA_LDFLAGS)" |
25 | GO_BUILD_STATIC := CGO_ENABLED=1 $(GO) build -trimpath $(MOD_VENDOR) $(EXTRA_FLAGS) -tags "$(BUILDTAGS) netgo osusergo" \ | 25 | GO_BUILD_STATIC := CGO_ENABLED=1 $(GO) build -trimpath $(EXTRA_FLAGS) -tags "$(BUILDTAGS) netgo osusergo" \ |
26 | -ldflags "-extldflags -static -X main.gitCommit=$(COMMIT) -X main.version=$(VERSION) $(EXTRA_LDFLAGS)" | 26 | -ldflags "-extldflags -static -X main.gitCommit=$(COMMIT) -X main.version=$(VERSION) $(EXTRA_LDFLAGS)" |
27 | @@ -41,7 +41,6 @@ recvtty: | ||
28 | |||
29 | static: | ||
30 | $(GO_BUILD_STATIC) -o runc . | ||
31 | - $(GO_BUILD_STATIC) -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty | ||
32 | |||
33 | release: | ||
34 | script/release.sh -r release/$(VERSION) -v $(VERSION) | ||
35 | -- | ||
36 | 2.19.1 | ||
37 | |||
diff --git a/recipes-containers/runc/runc-opencontainers_git.bb b/recipes-containers/runc/runc-opencontainers_git.bb index 4b1d0a0e..a9a647d7 100644 --- a/recipes-containers/runc/runc-opencontainers_git.bb +++ b/recipes-containers/runc/runc-opencontainers_git.bb | |||
@@ -1,10 +1,10 @@ | |||
1 | include runc.inc | 1 | include runc.inc |
2 | 2 | ||
3 | SRCREV = "e0124d569cb2dfe93bd9fb8d7f4ade461e006464" | 3 | SRCREV = "d7f7b22a85a2387557bdcda125710c2506f8d5c5" |
4 | SRC_URI = " \ | 4 | SRC_URI = " \ |
5 | git://github.com/opencontainers/runc;branch=release-1.0;protocol=https \ | 5 | git://github.com/opencontainers/runc;branch=release-1.1;protocol=https \ |
6 | file://0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch \ | 6 | file://0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch \ |
7 | " | 7 | " |
8 | RUNC_VERSION = "1.0.3" | 8 | RUNC_VERSION = "1.1.0" |
9 | 9 | ||
10 | CVE_PRODUCT = "runc" | 10 | CVE_PRODUCT = "runc" |