- Update the repositories:
apt-get update
- Basic tooling for compiling debian package:
apt-get install devscripts build-essential
- Get the sources:
apt-get source systemd/bookworm
. - Install the dev dependencies:
apt-get build-dep systemd/bookworm
. - Install the bpf dependencies:
apt-get install clang libbpf-dev libbpf-tools bpftool
- Go into the source directory of systemd:
cd systemd-*
. - Build the package:
debuild -us -uc
. - Go back to the parent directory:
cd ..
. - Install the package built:
dpkg -i systemd_*_amd64.deb
Last active
March 11, 2024 14:14
-
-
Save unixfox/57f9375aaa7a6d4dd99109f153f0bc50 to your computer and use it in GitHub Desktop.
Compile systemd with BPF_FRAMEWORK for Debian 12 (bookworm)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment