435ba6e194
This commit updates the containernetworking-plugins and bond-cni pkgs to use golang-1.18. Test Plan: - PASS: downloader - PASS: build pkgs - PASS: build image - PASS: the plugins are present at /var/opt/cni/bin/ - PASS: test the plugins' functionality Story: 2010878 Task: 49619 Change-Id: Ie8e0f01502e74cf2fb7a4b3ba88c37b69609c297 Signed-off-by: Mohammad Issa <mohammad.issa@windriver.com>
14 lines
301 B
Makefile
14 lines
301 B
Makefile
#!/usr/bin/make -f
|
|
|
|
export PATH := /usr/lib/go-1.18/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)
|