
This commit fixes an issue that was seen if golang 1.17 was chosen as the toolchain to build the CNI package. The go 1.17.5 build complains that the following vendored modules should be explicitly required in the go.mod file: github.com/coreos/go-iptables v0.6.0 github.com/safchain/ethtool v0.0.0-20210803160452-9aa261dae9b1 golang.org/x/sys v0.0.0-20210809222454-d867a43fc93e If these are added to the go.mod file, a further complaint is given that it no longer matches the information in vendor/modules.txt The patch files were generated by running go mod tidy for the go.mod file, and go mod vendor for the vendor/modules.txt. Since the bond-cni uses go 1.17 in the go directive of its go.mod file, this commit locks down on this version to attempt to prevent other issues from arising from new or other golang versions. Testing: - CentOS build - Debian build - Spot check of bond-cni functionality on CentOS Closes-Bug: 1966728 Signed-off-by: Steven Webster <steven.webster@windriver.com> Change-Id: I14638165db48cda9b89dd666b0c8b7c0a4e8e380
24 lines
882 B
Plaintext
24 lines
882 B
Plaintext
Source: bond-cni
|
|
Section: golang
|
|
Priority: optional
|
|
Maintainer: StarlingX Developers <starlingx-discuss@lists.starlingx.io>
|
|
Standards-Version: 4.6.0
|
|
Homepage: https://www.starlingx.io
|
|
Build-Depends: debhelper-compat (= 13),
|
|
dh-golang,
|
|
golang-1.17,
|
|
golang-github-appc-cni-dev,
|
|
golang-github-containernetworking-plugins-dev,
|
|
golang-github-vishvananda-netlink-dev,
|
|
golang-github-coreos-go-iptables-dev (>= 0.4.5~),
|
|
golang-github-safchain-ethtool-dev,
|
|
golang-golang-x-sys-dev,
|
|
XS-Go-Import-Path: github.com/bond
|
|
|
|
Package: bond-cni
|
|
Architecture: any
|
|
Depends: ${misc:Depends}, ${shlibs:Depends}
|
|
Description: Provides a binary for the bond-cni plugin.
|
|
Bonding provides a method for aggregating multiple network interfaces
|
|
into a single logical "bonded" interface.
|