summaryrefslogtreecommitdiffstats
path: root/recipes-containers/docker-distribution/docker-distribution_git.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2020-06-30 23:42:03 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-07-01 12:43:16 -0400
commitcc5e41ffb029ed61711e14368e66083e22a6ba38 (patch)
treea7c09b6649de1a08516c971e3999e9a4263eb15b /recipes-containers/docker-distribution/docker-distribution_git.bb
parent929372946aeb85953d1ca6acc428d73fbac52a56 (diff)
downloadmeta-virtualization-cc5e41ffb029ed61711e14368e66083e22a6ba38.tar.gz
docker-distribution: fix for GO cross compilation
With oe-core commit c23f9e80492e4b [tcmode-default: use go-binary-native by default], we must explictly call the proper cross go binary, versus just the go-native variant. These builds were working by luck, since the go compiler was capable of building the target binaries previously (in its build-from-source creation). We fixup the calls and we no longer see fpu build issues: fatal error: gnu/stubs-soft.h: No such file or directory 7 | # include <gnu/stubs-soft.h> | ^~~~~~~~~~~~~~~~~~ Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/docker-distribution/docker-distribution_git.bb')
-rw-r--r--recipes-containers/docker-distribution/docker-distribution_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb
index 4bf3c6e5..692438ec 100644
--- a/recipes-containers/docker-distribution/docker-distribution_git.bb
+++ b/recipes-containers/docker-distribution/docker-distribution_git.bb
@@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
6SRCREV_distribution="2461543d988979529609e8cb6fca9ca190dc48da" 6SRCREV_distribution="2461543d988979529609e8cb6fca9ca190dc48da"
7SRC_URI = "git://github.com/docker/distribution.git;branch=release/2.7;name=distribution;destsuffix=git/src/github.com/docker/distribution \ 7SRC_URI = "git://github.com/docker/distribution.git;branch=release/2.7;name=distribution;destsuffix=git/src/github.com/docker/distribution \
8 file://docker-registry.service \ 8 file://docker-registry.service \
9 file://0001-build-use-to-use-cross-go-compiler.patch \
9 " 10 "
10 11
11PACKAGES =+ "docker-registry" 12PACKAGES =+ "docker-registry"