File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 66
77# Launchpad rejects Go's access to $HOME, use custom folders
88export GOCACHE =/tmp/go-build
9+ export GOPATH =/tmp/gopath
910export GOROOT_BOOTSTRAP ={{.GoBootPath}}
1011
1112override_dh_auto_clean :
@@ -19,7 +20,8 @@ override_dh_auto_build:
1920
2021 # We can't download external go modules within Launchpad, so we're shipping the
2122 # entire dependency source cache with go-ethereum.
22- (mkdir -p $(HOME)/go/pkg/mod && mv .mod/* $(HOME)/go/pkg/mod)
23+ mkdir -p $(GOPATH)/pkg
24+ mv .mod $(GOPATH)/pkg/mod
2325
2426 # A fresh Go was built, all dependency downloads faked, hope build works now
2527 ../.go/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
You can’t perform that action at this time.
0 commit comments