[EOAN][UNSTABLE][PATCH 0/1] add bpftool to linux-tools-common
quentin.monnet at netronome.com
Tue Aug 27 11:32:52 UTC 2019
bpftool is a debugging and introspection tool for BPF elements, developed by
the BPF kernel community. It is essential to list and dump BPF programs and
maps loaded on the system. Its sources are located in the kernel repository,
and because it is not packaged, administrators willing to use bpftool must
download the whole kernel sources, compile and install the utility.
Adding bpftool to linux-tools and linux-tools-common packages makes it easily
accessible. These packages are already used to provide other tools located in
the kernel repository, such as perf.
A test linux package was successfully built, at:
Packages linux-tools-$(uname -r) and linux-tools-common can be built with
"debian/rules binary", and contain bpftool's binary and related files
(redirection script, bpftool manual pages, bash completion), respectively.
Low, as far as I can tell: bpftool packaging does not change the way
other tools are packaged (apart from creating $(toolsman)/man8 a few
lines earlier), and should have no impact on the packaging of other
tools. One dependency is added to Build-Depends-Indep, none is removed.
This set was originally submitted for bionic , but rebased for the
development branch on Kleber's advice . The version for bionic
included a backported patch from linux 4.16 for fixing bpftool build
following a change in bfd.h from binutils-dev (commit fb982666e380
("tools/bpftool: fix bpftool build with bintutils >= 2.9")), but this
commit is already present in kernel 5.2.
Quentin Monnet (1):
UBUNTU: [Debian] package bpftool in linux-tools-common
debian.master/control.stub.in | 1 +
debian.master/rules.d/amd64.mk | 1 +
debian.master/rules.d/arm64.mk | 1 +
debian.master/rules.d/armhf.mk | 1 +
debian.master/rules.d/i386.mk | 1 +
debian.master/rules.d/ppc64el.mk | 1 +
debian.master/rules.d/s390x.mk | 1 +
debian/rules | 2 +-
debian/rules.d/1-maintainer.mk | 1 +
debian/rules.d/2-binary-arch.mk | 9 +++++++++
debian/rules.d/3-binary-indep.mk | 12 +++++++++++-
11 files changed, 29 insertions(+), 2 deletions(-)
More information about the kernel-team