UBUNTU: [Packaging] Update dependency of pahole / dwarves

We need pahole >= 1.21 to properly support BTF, pahole used to be
provided by dwarves, but this package is going to be renamed into pahole
starting with jammy.

So to be as generic as possible, and facilitate the porting of this rule
across all kernels, specify a single dependency as following:

 - if we are in jammy => just depend on pahole
 - all the releases < jammy => depend on dwarves >= 1.21

Also add riscv64 to the list of architectures that require pahole.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
This commit is contained in:
Andrea Righi
2022-01-28 16:56:27 +01:00
committed by Paolo Pisati
parent 4bcf084cad
commit f2476390af
+1 -1
View File
@@ -36,7 +36,7 @@ Build-Depends:
dkms <!stage1>,
curl <!stage1>,
zstd [amd64 s390x] <!stage1>,
dwarves [amd64 arm64 armhf ppc64el s390x] <!stage1>,
pahole [amd64 arm64 armhf ppc64el s390x riscv64] | dwarves (>= 1.21) [amd64 arm64 armhf ppc64el s390x riscv64] <!stage1>,
Build-Depends-Indep:
xmlto <!stage1>,
docbook-utils <!stage1>,