mirror of
https://github.com/netdata/netdata.git
synced 2025-05-02 16:30:12 +00:00
Amend the logic of ebpf-plugin package suggestion for network-viewer plugin (#17085)
--------- Signed-off-by: Tasos Katsoulas <tasos@netdata.cloud>
This commit is contained in:
parent
65f6445d51
commit
08189cc25a
2 changed files with 3 additions and 1 deletions
|
@ -230,7 +230,7 @@ Architecture: any
|
||||||
Depends: ${shlibs:Depends},
|
Depends: ${shlibs:Depends},
|
||||||
netdata (= ${source:Version})
|
netdata (= ${source:Version})
|
||||||
Pre-Depends: libcap2-bin, adduser
|
Pre-Depends: libcap2-bin, adduser
|
||||||
Recommends: netdata-plugin-ebpf (= ${source:Version} )
|
Recommends: netdata-plugin-ebpf (= ${source:Version}) [amd64]
|
||||||
Conflicts: netdata (<< ${source:Version})
|
Conflicts: netdata (<< ${source:Version})
|
||||||
Description: The network viewer plugin for the Netdata Agent
|
Description: The network viewer plugin for the Netdata Agent
|
||||||
This plugin allows the Netdata Agent to provide network connection
|
This plugin allows the Netdata Agent to provide network connection
|
||||||
|
|
|
@ -1000,11 +1000,13 @@ Summary: The network viewer plugin for the Netdata Agent
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
Conflicts: %{name} < %{version}
|
Conflicts: %{name} < %{version}
|
||||||
|
%if 0%{?_have_ebpf}
|
||||||
%if 0%{?centos_ver} != 7
|
%if 0%{?centos_ver} != 7
|
||||||
Recommends: %{name}-plugin-ebpf = %{version}
|
Recommends: %{name}-plugin-ebpf = %{version}
|
||||||
%else
|
%else
|
||||||
Requires: %{name}-plugin-ebpf = %{version}
|
Requires: %{name}-plugin-ebpf = %{version}
|
||||||
%endif
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
%description plugin-network-viewer
|
%description plugin-network-viewer
|
||||||
This plugin allows the Netdata Agent to provide network connection
|
This plugin allows the Netdata Agent to provide network connection
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue