mkosi: install bpftool in Debian/Ubuntu test images

The centos-fedora, opensuse and postmarketos image configurations all
install bpftool but the Debian/Ubuntu ones never did. Only their build
image gets it via the packaging's Build-Depends. So the
TEST-90-RESTRICT-FSACCESS guard and overlay subtests, both gated on
'command -v bpftool', just silently skip there.

Mirror what the build image does. Plain bpftool everywhere except Ubuntu
jammy and noble which still bundle it in linux-tools-generic.

Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
This commit is contained in:
Christian Brauner
2026-08-10 16:09:06 +02:00
parent 24bbacbe7a
commit 7849500cd9
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,13 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# bpftool was untangled in resolute; Debian ships it standalone everywhere
[TriggerMatch]
Distribution=debian
[TriggerMatch]
Distribution=ubuntu
Release=!jammy
Release=!noble
[Content]
Packages=bpftool
@@ -0,0 +1,10 @@
# SPDX-License-Identifier: LGPL-2.1-or-later
# bpftool was untangled in resolute, needs linux-tools-generic in older releases
[TriggerMatch]
Distribution=ubuntu
Release=|jammy
Release=|noble
[Content]
Packages=linux-tools-generic