From f2476390afe68fa8d57f133a73f69bc724c30e45 Mon Sep 17 00:00:00 2001 From: Andrea Righi Date: Fri, 28 Jan 2022 16:56:27 +0100 Subject: [PATCH] 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 --- debian.master/control.stub.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian.master/control.stub.in b/debian.master/control.stub.in index 4d0cb5f3aca7..74e4130f4b94 100644 --- a/debian.master/control.stub.in +++ b/debian.master/control.stub.in @@ -36,7 +36,7 @@ Build-Depends: dkms , curl , zstd [amd64 s390x] , - dwarves [amd64 arm64 armhf ppc64el s390x] , + pahole [amd64 arm64 armhf ppc64el s390x riscv64] | dwarves (>= 1.21) [amd64 arm64 armhf ppc64el s390x riscv64] , Build-Depends-Indep: xmlto , docbook-utils ,