[SRU][P][PATCH 1/1] UBUNTU: [Packaging] Install bpf header to correct location
Juerg Haefliger
juerg.haefliger at canonical.com
Tue Jul 29 06:16:58 UTC 2025
BugLink: https://bugs.launchpad.net/bugs/2118965
Debian installs it at /usr/include/$DEB_HOST_MULTIARCH/linux/bpf/vmlinux.h
We should do the same.
Fixes: 76f5a303807e ("UBUNTU: [Packaging] add linux-bpf-dev package")
Signed-off-by: Juerg Haefliger <juerg.haefliger at canonical.com>
---
debian/rules.d/2-binary-arch.mk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 41985338064a..14260d520c9f 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -374,9 +374,9 @@ ifeq ($(do_linux_tools),true)
# Do this only for the primary (first) flavor
# linux-bpf-dev is broken: It provides vmlinux.h which is a flavored header file!
if [ $* = $(firstword $(flavours)) ] ; then \
- install -d -m755 $(bpfdevpkgdir)/usr/include/$(DEB_HOST_MULTIARCH)/linux/ ; \
+ install -d -m755 $(bpfdevpkgdir)/usr/include/$(DEB_HOST_MULTIARCH)/linux/bpf/ ; \
install -m644 $(build_dir)/vmlinux.h \
- $(bpfdevpkgdir)/usr/include/$(DEB_HOST_MULTIARCH)/linux/ ; \
+ $(bpfdevpkgdir)/usr/include/$(DEB_HOST_MULTIARCH)/linux/bpf/ ; \
fi
endif
endif
--
2.48.1
More information about the kernel-team
mailing list