pkgdep/dnf: install tc tool from iproute-tc package

Fedora37 has iproute version 5.18.0 in the
repository which does not include "tc" in it.
This tool in newer versions of iproute is in a
separate package "iproute-tc" and is not installed
by default.

"tc" is used in ADQ tests for e.g. creating traffic
classes or filters.

Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com>
Change-Id: I9456d80de1b23a66c508f466dfb93f9b86d4c9e4
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16126
Reviewed-by: Michal Berger <michal.berger@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
This commit is contained in:
Kamil Godzwon 2023-01-04 08:41:05 -05:00 committed by Tomasz Zawadzki
parent 8d7abaf5e2
commit bd2778ee42

View File

@ -75,6 +75,10 @@ if [[ $OSID == fedora ]] && ((OSVERSION == 34)); then
packages+=(bpftrace)
fi
if [[ $OSID == fedora ]] && ((OSVERSION >= 37)); then
packages+=(iproute-tc)
fi
pre_install() { :; }
if [[ $OSID != fedora ]]; then