diff --git a/kubernetes/cni/bond-cni/debian/deb_folder/bond-cni.install b/kubernetes/cni/bond-cni/debian/deb_folder/bond-cni.install index 1eeb9b126..8ac2fccb7 100644 --- a/kubernetes/cni/bond-cni/debian/deb_folder/bond-cni.install +++ b/kubernetes/cni/bond-cni/debian/deb_folder/bond-cni.install @@ -1 +1 @@ -bond /var/opt/cni/bin/ +usr/bin/* /var/opt/cni/bin/ diff --git a/kubernetes/cni/bond-cni/debian/deb_folder/rules b/kubernetes/cni/bond-cni/debian/deb_folder/rules index f6af93e1e..61ec68ae5 100644 --- a/kubernetes/cni/bond-cni/debian/deb_folder/rules +++ b/kubernetes/cni/bond-cni/debian/deb_folder/rules @@ -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)