diff options
author | Tasos Katsoulas <12612986+tkatsoulas@users.noreply.github.com> | 2024-03-02 23:20:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-02 23:20:34 +0200 |
commit | 08189cc25a60b67e67b829b2b00d1ebdcf102ae4 (patch) | |
tree | 6ce98c46ab91239a13faf912259a0e5734e308bf | |
parent | 65f6445d516ebaf45428f2799f28aecfaf81a170 (diff) |
Amend the logic of ebpf-plugin package suggestion for network-viewer plugin (#17085)
---------
Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
-rw-r--r-- | contrib/debian/control | 2 | ||||
-rw-r--r-- | netdata.spec.in | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/contrib/debian/control b/contrib/debian/control index 31b2b95244..35eda28c1e 100644 --- a/contrib/debian/control +++ b/contrib/debian/control @@ -230,7 +230,7 @@ Architecture: any Depends: ${shlibs:Depends}, netdata (= ${source:Version}) Pre-Depends: libcap2-bin, adduser -Recommends: netdata-plugin-ebpf (= ${source:Version} ) +Recommends: netdata-plugin-ebpf (= ${source:Version}) [amd64] Conflicts: netdata (<< ${source:Version}) Description: The network viewer plugin for the Netdata Agent This plugin allows the Netdata Agent to provide network connection diff --git a/netdata.spec.in b/netdata.spec.in index b4ab5122dc..14eda6c184 100644 --- a/netdata.spec.in +++ b/netdata.spec.in @@ -1000,11 +1000,13 @@ Summary: The network viewer plugin for the Netdata Agent Group: Applications/System Requires: %{name} = %{version} Conflicts: %{name} < %{version} +%if 0%{?_have_ebpf} %if 0%{?centos_ver} != 7 Recommends: %{name}-plugin-ebpf = %{version} %else Requires: %{name}-plugin-ebpf = %{version} %endif +%endif %description plugin-network-viewer This plugin allows the Netdata Agent to provide network connection |