| Message ID | 20251209104122.369943-1-changqing.li@windriver.com |
|---|---|
| State | New |
| Headers | show |
| Series | [V2,1/2] go.bbclass: change GOTMPDIR to improve reproducibility | expand |
diff --git a/meta/classes-recipe/go.bbclass b/meta/classes-recipe/go.bbclass index e0f667373e..c323d4c9c9 100644 --- a/meta/classes-recipe/go.bbclass +++ b/meta/classes-recipe/go.bbclass @@ -79,7 +79,7 @@ B = "${WORKDIR}/build" export GOPATH = "${B}" export GOENV = "off" export GOPROXY ??= "https://proxy.golang.org,direct" -export GOTMPDIR ?= "${WORKDIR}/build-tmp" +export GOTMPDIR ?= "${WORKDIR}/tmp-go-build" GOTMPDIR[vardepvalue] = "" GO_SRCURI_DESTSUFFIX = "${@os.path.join(os.path.basename(d.getVar('S')), 'src', d.getVar('GO_IMPORT')) + '/'}"