Skip to content

Commit

Permalink
rhel: Enable USDT scripts by default in Fedora builds.
Browse files Browse the repository at this point in the history
All supported versions of Fedora do package libbpf, so it
makes sense to enable USDT support.

Acked-by: Simon Horman <[email protected]>
Signed-off-by: Aaron Conole <[email protected]>
Signed-off-by: Eelco Chaudron <[email protected]>
  • Loading branch information
apconole authored and chaudron committed Mar 19, 2024
1 parent 86b9e65 commit b89a6b8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rhel/openvswitch-fedora.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
%bcond_with dpdk
# To disable AF_XDP support, specify '--without afxdp' when building
%bcond_without afxdp
# To control the USDT support
%bcond_without usdt

# If there is a need to automatically enable the package after installation,
# specify the "--with autoenable"
Expand Down Expand Up @@ -77,6 +79,9 @@ Provides: %{name}-dpdk = %{version}-%{release}
%if %{with afxdp}
BuildRequires: libxdp-devel libbpf-devel numactl-devel
%endif
%if %{with usdt}
BuildRequires: libbpf-devel systemtap-sdt-devel
%endif
BuildRequires: unbound unbound-devel

Requires: openssl hostname iproute module-init-tools unbound
Expand Down Expand Up @@ -173,6 +178,9 @@ This package provides IPsec tunneling support for OVS tunnels.
--enable-afxdp \
%else
--disable-afxdp \
%endif
%if %{with usdt}
--enable-usdt-probes \
%endif
--enable-ssl \
--disable-static \
Expand Down

0 comments on commit b89a6b8

Please sign in to comment.