integ/kubernetes/plugins/isolcpus-device-plugin/debian/deb_folder/rules
Boovan Rajendran 8c4a8b7a8c Fix for dwz compression error in isolcpus-device-plugin
isolcpus-device-plugin package was failing with following error
"Found compressed .debug_aranges section, not attempting dwz
compression" for keeping golang-1.19 as default version.

This error showed up when we started using the binary-distributed
golang-1.19 from upstream bullseye-backports as the default golang
version.

This change is to build isolcpus-device-plugin package successfully.

Test Plan:
PASS: isolcpus-device-plugin package build successful using golang-1.19
as default version.

Story: 2010878
Task: 48673

Change-Id: I71f9480296051efc2d3e896efe3599216c9d4bf9
Signed-off-by: Boovan Rajendran <boovan.rajendran@windriver.com>
2023-09-06 09:45:39 -04:00

17 lines
227 B
Makefile
Executable File

#!/usr/bin/make -f
%:
dh $@
override_dh_auto_build:
go build -mod=vendor -ldflags=-linkmode=external
override_dh_auto_test:
echo "do nothing"
override_dh_usrlocal:
echo "do nothing"
override_dh_dwz:
echo "do nothing"