From 729b03caeae7918a853a59776e1801928f13cd39b9c98e24e60239b5887401ba Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Tue, 19 Jul 2022 08:59:20 +0000 Subject: [PATCH] - Enable bpf framework OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1296 --- systemd.changes | 5 +++++ systemd.spec | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/systemd.changes b/systemd.changes index 03ffb723..fd3d831d 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Jul 19 08:58:21 UTC 2022 - Franck Bui + +- Enable bpf framework + ------------------------------------------------------------------- Mon Jul 18 15:54:51 UTC 2022 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 3f2d83c7..22f3bc90 100644 --- a/systemd.spec +++ b/systemd.spec @@ -78,6 +78,8 @@ Summary: A System and Session Manager License: LGPL-2.1-or-later BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{without bootstrap} +BuildRequires: bpftool +BuildRequires: clang BuildRequires: docbook-xsl-stylesheets BuildRequires: kbd BuildRequires: libapparmor-devel @@ -88,6 +90,7 @@ BuildRequires: polkit BuildRequires: python3-base BuildRequires: python3-lxml BuildRequires: pkgconfig(audit) +BuildRequires: pkgconfig(libbpf) BuildRequires: pkgconfig(libdw) BuildRequires: pkgconfig(libiptc) BuildRequires: pkgconfig(liblz4) @@ -137,6 +140,8 @@ Requires: util-linux >= 2.27.1 Requires: group(lock) # This Recommends because some symbols of libpcre2 are dlopen()ed by journalctl Recommends: libpcre2-8-0 +Recommends: libbpf0 + Requires(post): coreutils Requires(post): findutils Requires(post): systemd-presets-branding @@ -688,6 +693,7 @@ Have fun with these services at your own risk. -Dpstore=true \ \ -Dapparmor=%{when_not bootstrap} \ + -Dbpf-framework=%{when_not bootstrap} \ -Defi=%{when_not bootstrap} \ -Delfutils=%{when_not bootstrap} \ -Dhtml=%{when_not bootstrap} \