diff options
Diffstat (limited to 'recipes-containers/containerd/containerd-opencontainers_git.bb')
| -rw-r--r-- | recipes-containers/containerd/containerd-opencontainers_git.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb index af91a22b..edc3a5cb 100644 --- a/recipes-containers/containerd/containerd-opencontainers_git.bb +++ b/recipes-containers/containerd/containerd-opencontainers_git.bb | |||
| @@ -7,8 +7,8 @@ DESCRIPTION = "containerd is a daemon to control runC, built for performance and | |||
| 7 | 7 | ||
| 8 | SRCREV = "579a6380ec93ab92a6e7f26167fe4f18dfcf2a4b" | 8 | SRCREV = "579a6380ec93ab92a6e7f26167fe4f18dfcf2a4b" |
| 9 | SRC_URI = "git://github.com/containerd/containerd;branch=release/1.6;protocol=https \ | 9 | SRC_URI = "git://github.com/containerd/containerd;branch=release/1.6;protocol=https \ |
| 10 | file://0001-Add-build-option-GODEBUG-1.patch \ | ||
| 11 | 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 \ | ||
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | # Apache-2.0 for containerd | 14 | # Apache-2.0 for containerd |
| @@ -18,7 +18,7 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=1269f40c0d099c21a871163984590d | |||
| 18 | CONTAINERD_VERSION = "v1.6.8" | 18 | CONTAINERD_VERSION = "v1.6.8" |
| 19 | CVE_VERSION = "1.6.8" | 19 | CVE_VERSION = "1.6.8" |
| 20 | 20 | ||
| 21 | EXTRA_OEMAKE += "GODEBUG=1" | 21 | # EXTRA_OEMAKE += "GODEBUG=1" |
| 22 | 22 | ||
| 23 | PROVIDES += "virtual/containerd" | 23 | PROVIDES += "virtual/containerd" |
| 24 | RPROVIDES:${PN} = "virtual-containerd" | 24 | RPROVIDES:${PN} = "virtual-containerd" |
| @@ -84,7 +84,7 @@ do_compile() { | |||
| 84 | # cannot find package runtime/cgo (using -importcfg) | 84 | # cannot find package runtime/cgo (using -importcfg) |
| 85 | # ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: | 85 | # ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: |
| 86 | # cannot open file : open : no such file or directory | 86 | # cannot open file : open : no such file or directory |
| 87 | export GO_BUILD_FLAGS="-a -pkgdir dontusecurrentpkgs" | 87 | export GO_BUILD_FLAGS="-trimpath -a -pkgdir dontusecurrentpkgs" |
| 88 | export GO111MODULE=off | 88 | export GO111MODULE=off |
| 89 | 89 | ||
| 90 | cd ${S}/src/import | 90 | cd ${S}/src/import |
