diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2020-10-15 02:01:04 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2020-10-15 10:57:12 -0400 |
commit | 28fda6d8488588ac1d2e1799482dcebdc79cd412 (patch) | |
tree | 1c43b4301d6ef4a67319a384ef73f04eaca0ae75 /recipes-containers/kubernetes/kubernetes_git.bb | |
parent | 80d83eacda410377e36d6e90db4f07d71888adbb (diff) | |
download | meta-virtualization-28fda6d8488588ac1d2e1799482dcebdc79cd412.tar.gz |
kubernetes: Fix race issue for installing go2make
The src/import/build/root/Makefile.generated_files are called several times
during the build, so the following target which installs go2make will also run
several times:
$(META_DIR)/$(GO_PKGDEPS_FILE): FORCE
It runs automatically when the Makefile is called because of:
sinclude $(META_DIR)/$(GO_PKGDEPS_FILE)
So there is a race issue of go2make when parallel build:
hack/run-in-gopath.sh: line 34: build/tmp-glibc/work/corei7-64-wrs-linux/kubernetes/1.18.8-r0/git/src/import/_output/local/go/bin/go2make: No suc h file or directory
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/kubernetes/kubernetes_git.bb')
-rw-r--r-- | recipes-containers/kubernetes/kubernetes_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb index 76c82026..1053d979 100644 --- a/recipes-containers/kubernetes/kubernetes_git.bb +++ b/recipes-containers/kubernetes/kubernetes_git.bb | |||
@@ -15,6 +15,7 @@ SRC_URI = "git://github.com/kubernetes/kubernetes.git;branch=release-1.19;name=k | |||
15 | file://0001-cross-don-t-build-tests-by-default.patch \ | 15 | file://0001-cross-don-t-build-tests-by-default.patch \ |
16 | file://0001-generate-bindata-unset-GOBIN.patch \ | 16 | file://0001-generate-bindata-unset-GOBIN.patch \ |
17 | file://0001-build-golang.sh-convert-remaining-go-calls-to-use.patch \ | 17 | file://0001-build-golang.sh-convert-remaining-go-calls-to-use.patch \ |
18 | file://0001-Makefile.generated_files-Fix-race-issue-for-installi.patch \ | ||
18 | " | 19 | " |
19 | 20 | ||
20 | DEPENDS += "rsync-native \ | 21 | DEPENDS += "rsync-native \ |