diff --git a/README b/README index cc0782ecbf1..fa5d3aca1b9 100644 --- a/README +++ b/README @@ -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) diff --git a/meson.build b/meson.build index e76cc1dc6be..0b5fdd17374 100644 --- a/meson.build +++ b/meson.build @@ -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 diff --git a/mkosi.build b/mkosi.build index 1154e738f4c..07f9bb21a69 100755 --- a/mkosi.build +++ b/mkosi.build @@ -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"