diff options
author | zsdc <taras@vyos.io> | 2022-06-24 20:10:46 +0300 |
---|---|---|
committer | zsdc <taras@vyos.io> | 2022-06-24 20:10:46 +0300 |
commit | 5a27d7b53cc8d8052337a7c5a35dadbb998e369c (patch) | |
tree | 279a1841d92e31c7b1a70689d96b61a12beb4149 | |
parent | 9a41f30df3b5dbef19f2170a51f944d96908057c (diff) | |
download | vyos-xe-guest-utilities-5a27d7b53cc8d8052337a7c5a35dadbb998e369c.tar.gz vyos-xe-guest-utilities-5a27d7b53cc8d8052337a7c5a35dadbb998e369c.zip |
Go: T4472: Added compatibility with new Go versions
* removed dependency from `golang` package with an old version
* added environment variable to disable module-aware mode in Go 1.16+, to make
build possible using latest Go
-rw-r--r-- | debian/control | 2 | ||||
-rwxr-xr-x | debian/rules | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/debian/control b/debian/control index 09dab18..3aab940 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: Maintainer: VyOS Package Maintainers <maintainers@vyos.net> Homepage: https://github.com/xenserver Standards-Version: 4.1.4 -Build-Depends: debhelper (>= 12), gawk, golang +Build-Depends: debhelper (>= 12), gawk Vcs-Git: https://github.com/xenserver/xe-guest-utilities Package: vyos-xe-guest-utilities diff --git a/debian/rules b/debian/rules index c9d0d84..3668f41 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,9 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 +# Disable module-aware mode, required for compatibility with Go 1.16+ +export GO111MODULE=off + %: dh $@ --with systemd |