On Fri, 4 Oct 2019 11:30:26 -0700, Jakub Kicinski wrote:
Surely for distroes tho - they would have kernel headers matching the
kernel release they ship. If parts of libbpf from GH only work with
the latest kernel, distroes should ship libbpf from the kernel source,
rather than GH.
I don't see a problem here for distros. Distros control both the kernel
and libbpf, there's no problem in keeping those in sync.
Packaging libbpf from the kernel source would not help anything -
updating libbpf would still require a new kernel. There's no difference
between updating libbpf from a github repo or from the kernel source,
as far as dependencies are concerned.
Jiri