Files
integ/kubernetes/cni/plugins/debian/deb_folder/rules
Mohammad Issa d9ca4b8bcb debian-pkg: Uprev cni plugins
This commit uprevs the containernetworking-plugins to v1.2.0 and
bond-cni v1.0 (with the latest commit changes)

There was no upstream Debian package for the target version of
containernetworking-plugins yet. Therefore, to create the package
we build it from the source (tar.gz).

Test Plan:
- PASS: downloader
- PASS: build pkgs
- PASS: build image
- PASS: the plugins are present at /var/opt/cni/bin/
- PASS: ensure installed packages are the correct version
- PASS: plugins functionality test includes:
        - bandwidth, bonding, bridge, DHCP, hd,
          ipvlan, macvlan, portmap, ptp, sbr,
          tuning, vlan, and vrf.

Story: 2010639
Task: 47614

Signed-off-by: Mohammad Issa <mohammad.issa@windriver.com>
Change-Id: Ida715a62fee0dc10d8097e7b5f994655b3268007
2023-04-14 20:03:39 +00:00

13 lines
299 B
Makefile

#!/usr/bin/make -f
export PATH := /usr/lib/go-1.17/bin:$(PATH)
export DH_VERBOSE := 1
export DH_GOLANG_GO_GENERATE := 1
export INSTALL_DIR := $(CURDIR)/debian/plugins
%:
dh $@ --buildsystem=golang --with=golang --builddirectory=_build
override_dh_install:
dh_install --sourcedir=$(INSTALL_DIR)