[SRU][K][PATCH 0/1] linux-tools-common should provide bpftool

Stefan Bader stefan.bader at canonical.com
Tue Nov 8 14:34:51 UTC 2022


On 07.11.22 11:34, Andrea Righi wrote:
> [Impact]
> 
> In Debian, 'bpftool' is provided as a separate binary package.
> 
> There are other packages in the archive (i.e., bpfcc,
> lava-dispatcher-host) which reference this package.
> 
> Rather than patching each package in Ubuntu to know the different Ubuntu
> name for the package (linux-tools-common), we should make
> linux-tools-common provide bpftool.
> 

It is possible I am totally overthinking this ... I just have this fuzzy memory 
of linux-tools-common needing one linux-tools-<flavour> to be of use. And the 
other not so clear belief that having the provides in common will add that to 
the installation if something depends on bpftool. The command itself is in 
common, so that is ok.
Just tried and running bpftool with just linux-tools-common installed gives you 
somewhat reasonable advice as to what you might be missing. If that is ok...

-Stefan

> [Fix]
> 
> Add 'Provides: bpftool' to linux-tools-common.
> 
> [Test case]
> 
> Install any package from the archive that requires bpftool.
> 
> [Regression potential]
> 
> We could introduce potential package dependency regressions with this
> change, however we are not introducing additional dependencies and
> the fix allows to avoid patching a lot of other packages from the
> archives (potentially introducing more regressions).
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20221108/0f14b446/attachment.sig>


More information about the kernel-team mailing list