Skip to content

Conversation

@theihor
Copy link
Contributor

@theihor theihor commented Jan 26, 2026

This PR has a number of changes aiming to make it possible to run BPF CI kernel builds on Debian, as wells as enable __jited BPF selftests, which are currently skipped due to missing llvm-dev libs. And some unrelated nits.

Tested with kernel-patches/vmtest#433

@theihor theihor force-pushed the debian-build-env branch 2 times, most recently from 1f8a00d to 96c46e1 Compare January 27, 2026 01:42
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
There BPF selftests that depend on llvm-dev libraries. Make sure they
are installed (by specifying "all" to llvm.sh), and ensure LLVM_CONFIG
is set correctly when building selftests.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Fixup pahole build flags to make LD_LIBRARY_PATH export unnecessary.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Check for $ID (provided by /etc/os-release) before executing
Ubuntu-specific hackery.

This allows to run setup-build-env scripts on Debian.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
It's necessary for running bpftool and resolve_btfids during selftests
build.

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
@theihor theihor merged commit 2e4aa3e into main Jan 27, 2026
17 checks passed
theihor added a commit to kernel-patches/vmtest that referenced this pull request Jan 27, 2026
Use a custom Debian-base docker image for kernel build
jobs (kernel-patches/runner#94).

Bump libbpf/ci actions to v4 (libbpf/ci#210).

Other nits:
  - set CROSS_COMPILE only for s390x
  - simplify Linux source download
  - remove setup docker/qemu logic
  - in gcc-bpf, install github cli on demand

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
theihor added a commit to kernel-patches/vmtest that referenced this pull request Jan 27, 2026
Use a custom Debian-base docker image for kernel build
jobs (kernel-patches/runner#94).

Bump libbpf/ci actions to v4 (libbpf/ci#210).

Other nits:
  - set CROSS_COMPILE only for s390x
  - simplify Linux source download
  - remove setup docker/qemu logic
  - in gcc-bpf, install github cli on demand

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
theihor added a commit to kernel-patches/vmtest that referenced this pull request Jan 27, 2026
Use a custom Debian-base docker image for kernel build
jobs (kernel-patches/runner#94).

Bump libbpf/ci actions to v4 (libbpf/ci#210).

Other nits:
  - set CROSS_COMPILE only for s390x
  - simplify Linux source download
  - remove setup docker/qemu logic
  - in gcc-bpf, install github cli on demand

Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants