Merge "debian: fix issue with bond-cni binary install"

This commit is contained in:
Zuul 2022-06-17 17:13:44 +00:00 committed by Gerrit Code Review
commit 6d3a1908e5
2 changed files with 5 additions and 1 deletions

View File

@ -1 +1 @@
bond /var/opt/cni/bin/
usr/bin/* /var/opt/cni/bin/

View File

@ -3,7 +3,11 @@
export PATH := /usr/lib/go-1.17/bin:$(PATH)
export DH_VERBOSE = 1
export DH_GOLANG_GO_GENERATE := 1
export INSTALL_DIR := $(CURDIR)/debian/bond-cni/
%:
dh $@ --buildsystem=golang --with=golang --builddirectory=_build
override_dh_install:
dh_install --sourcedir=$(INSTALL_DIR)