build: skip go clean on PPA, messes with the module trick

This commit is contained in:
Péter Szilágyi
2019-11-21 18:18:59 +02:00
parent b6d4f6b66e
commit 5b558ad936
4 changed files with 6 additions and 22 deletions

View File

@ -4,10 +4,13 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
# Launchpad rejects Go's access to $HOME/.cache, use custom folder
# Launchpad rejects Go's access to $HOME, use custom folders
export GOCACHE=/tmp/go-build
export GOROOT_BOOTSTRAP={{.GoBootPath}}
override_dh_auto_clean:
# Don't try to be smart Launchpad, we know our build rules better than you
override_dh_auto_build:
# We can't download a fresh Go within Launchpad, so we're shipping and building
# one on the fly. However, we can't build it inside the go-ethereum folder as