From: Christian Brauner Date: Tue, 12 May 2026 14:04:44 +0000 (+0200) Subject: ci: disable BPF framework in Jammy build tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F41340%2Fhead;p=thirdparty%2Fsystemd.git 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 --- 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