meta-virtualization/recipes-containers/kubernetes
Robert Yang 28fda6d848 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>
2020-10-15 10:57:12 -04:00
..
kubernetes kubernetes: Fix race issue for installing go2make 2020-10-15 10:57:12 -04:00
kubernetes_git.bb kubernetes: Fix race issue for installing go2make 2020-10-15 10:57:12 -04:00