From 8b10063527ba99e2a049eac5764930cb1ddebe12 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Tue, 12 May 2026 16:04:44 +0200 Subject: [PATCH] ci: disable BPF framework in Jammy build tests Jammy's kernel is too old at this point, and doesn't even provide a vmlinux.h, so disable the feature in the build smoketests to let us add new features Co-developed-by: Luca Boccassi Signed-off-by: Christian Brauner --- .github/workflows/build-test.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build-test.sh b/.github/workflows/build-test.sh index 506479a5584..68242ac922a 100755 --- a/.github/workflows/build-test.sh +++ b/.github/workflows/build-test.sh @@ -65,6 +65,7 @@ PACKAGES=( util-linux zstd ) +FEATURES=() COMPILER="${COMPILER:?}" COMPILER_VERSION="${COMPILER_VERSION:?}" LINKER="${LINKER:?}" @@ -133,6 +134,8 @@ sudo rm -f /etc/apt/sources.list.d/microsoft-prod.{list,sources} if grep -q 'VERSION_CODENAME=jammy' /usr/lib/os-release; then sudo add-apt-repository -y --no-update ppa:upstream-systemd-ci/systemd-ci sudo add-apt-repository -y --no-update --enable-source + # Jammy's kernel is too old and there's no vmlinux.h + FEATURES+=("-Dbpf-framework=disabled") else # add-apt-repository --enable-source does not work on deb822 style sources. for f in /etc/apt/sources.list.d/*.sources; do @@ -175,6 +178,7 @@ for args in "${ARGS[@]}"; do meson setup \ -Dtests=unsafe -Dslow-tests=true -Dfuzz-tests=true --werror \ -Dnobody-group=nogroup -Ddebug=false \ + "${FEATURES[@]}" \ $args build; then cat build/meson-logs/meson-log.txt -- 2.47.3