[Unstable][PATCH v2 0/3] UBUNTU: [Packaging] Clean up linux-bpf-dev packaging
Juerg Haefliger
juerg.haefliger at canonical.com
Mon Dec 16 11:03:28 UTC 2024
The linux-bpf-dev package provides vmlinux.h which is generated from vmlinux using the
in-tree bpftool utility. Currently, we build bpftool after the kernel so need to copy
vmlinux around which is ugly. Fix that by building the tool before the kernel.
This reordering uncovered another issue with phony targets in dependency chains. It
results in rebuilds of the kernel which is wrong (and bad). Patch 3 fixes that.
Note that the whole concept of the linux-bpf-dev package still remains broken as outlined
in the commit message of patch 2.
v1 -> v2:
- Add patch 3 to fix a dependency chain issue
Juerg Haefliger (3):
UBUNTU: [Packaging] linux-bpf-dev: Restructure packaging
UBUNTU: [Packaging] linux-bpf-dev: Skip packaging for additional
kernel flavors
UBUNTU: [Packaging] rules: Convert install-arch-headers to a stamped
target
debian/rules.d/2-binary-arch.mk | 59 +++++++++++++++++++++------------
1 file changed, 37 insertions(+), 22 deletions(-)
--
2.43.0
More information about the kernel-team
mailing list