diff -Nru bpfcc-0.29.1+ds/debian/changelog bpfcc-0.29.1+ds/debian/changelog --- bpfcc-0.29.1+ds/debian/changelog 2024-03-06 13:39:11.000000000 +0000 +++ bpfcc-0.29.1+ds/debian/changelog 2024-04-16 05:52:23.000000000 +0000 @@ -1,3 +1,10 @@ +bpfcc (0.29.1+ds-1ubuntu7) noble; urgency=medium + + * d/rules: + - allow to run autopkgtest with multiple kernels installed (LP: #2061727) + + -- Andrea Righi Tue, 16 Apr 2024 05:52:23 +0000 + bpfcc (0.29.1+ds-1ubuntu6) noble; urgency=medium * d/t/control: Run testsuite as autopkgtest (LP:2052813) diff -Nru bpfcc-0.29.1+ds/debian/rules bpfcc-0.29.1+ds/debian/rules --- bpfcc-0.29.1+ds/debian/rules 2024-03-06 13:39:11.000000000 +0000 +++ bpfcc-0.29.1+ds/debian/rules 2024-04-16 05:52:21.000000000 +0000 @@ -10,7 +10,7 @@ include /usr/share/dpkg/architecture.mk libbpf_tool_skip_arch := armhf s390x ppc64 riscv64 -export BPFTOOL=$(shell echo /usr/lib/linux-tools-*/bpftool) +export BPFTOOL=$(shell ls -1 /usr/lib/linux-tools-*/bpftool | tail -n 1) # Disable tests as they require root to run export DEB_BUILD_MAINT_OPTIONS=nocheck export DEB_CPPFLAGS_MAINT_APPEND=-DCUSTOM_MACRO=true