@cryptotaxi247 / netdata-1 / commits / 08189cc25

Amend the logic of ebpf-plugin package suggestion for network-viewer plugin (#17085)

--------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>

Tasos Katsoulas committed Mar 2, 2024 at 23:20 UTC 08189cc25a60b67e67b829b2b00d1ebdcf102ae4
2 files changed +3 -1
contrib/debian/control
+1 -1
@@ -230,7 +230,7 @@ Architecture: any
230 Depends: ${shlibs:Depends},
231 netdata (= ${source:Version})
232 Pre-Depends: libcap2-bin, adduser
233 -Recommends: netdata-plugin-ebpf (= ${source:Version} )
233 +Recommends: netdata-plugin-ebpf (= ${source:Version}) [amd64]
234 Conflicts: netdata (<< ${source:Version})
235 Description: The network viewer plugin for the Netdata Agent
236 This plugin allows the Netdata Agent to provide network connection
netdata.spec.in
+2
@@ -1000,11 +1000,13 @@ Summary: The network viewer plugin for the Netdata Agent
1000 Group: Applications/System
1001 Requires: %{name} = %{version}
1002 Conflicts: %{name} < %{version}
1003 +%if 0%{?_have_ebpf}
1004 %if 0%{?centos_ver} != 7
1005 Recommends: %{name}-plugin-ebpf = %{version}
1006 %else
1007 Requires: %{name}-plugin-ebpf = %{version}
1008 %endif
1009 +%endif
1010
1011 %description plugin-network-viewer
1012 This plugin allows the Netdata Agent to provide network connection