1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

Bump libbpf version to 0.7

We already depend on the skeleton APIs introduced in libbpf 0.7 so
let's bump our minimum version to reflect that.

We don't enforce bpf compilation on mkosi anymore since not all
distros have sufficiently up-to-date libbpf available.
This commit is contained in:
Daan De Meyer 2022-09-09 10:27:57 +02:00 committed by Dominique Martinet
parent 4163c87731
commit e2490f7384
3 changed files with 3 additions and 3 deletions

2
README
View File

@ -181,7 +181,7 @@ REQUIREMENTS:
libcryptsetup (optional), >= 2.3.0 required for signed Verity images support
libaudit (optional)
libacl (optional)
libbpf >= 0.2.0 (optional)
libbpf >= 0.7.0 (optional)
libfdisk >= 2.32 (from util-linux) (optional)
libselinux (optional)
liblzma (optional)

View File

@ -1050,7 +1050,7 @@ want_bpf_framework = get_option('bpf-framework')
bpf_compiler = get_option('bpf-compiler')
bpf_framework_required = want_bpf_framework == 'true'
libbpf_version_requirement = '>= 0.2.0'
libbpf_version_requirement = '>= 0.7.0'
if bpf_compiler == 'gcc'
libbpf_version_requirement = '>= 1.0.0'
endif

View File

@ -149,7 +149,7 @@ if [ ! -f "$BUILDDIR"/build.ninja ] ; then
-D gnu-efi=true \
-D kernel-install=true \
-D analyze=true \
-D bpf-framework=true
-D bpf-framework=auto
fi
cd "$BUILDDIR"