From 0fb87395b02c565d91af34d14d2118fa1f318ff5 Mon Sep 17 00:00:00 2001 From: Kamil Godzwon Date: Sat, 14 May 2022 06:17:33 -0400 Subject: [PATCH] pkgdep/rhel: install missing sshpass package Install sshpass package from third party repo as it is missing from official epel main x86_64 repository for Centos8. Signed-off-by: Kamil Godzwon Change-Id: Ide1899393eabb838bcb686c30dc58e4538f10c12 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12685 Reviewed-by: Michal Berger Reviewed-by: Pawel Piatek Reviewed-by: Karol Latecki Reviewed-by: Reviewed-by: Krzysztof Karas Reviewed-by: Tomasz Zawadzki Reviewed-by: Konrad Sztyber Community-CI: Broadcom CI Tested-by: SPDK CI Jenkins --- test/common/config/pkgdep/dnf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/common/config/pkgdep/dnf b/test/common/config/pkgdep/dnf index 20adfc5ff..323b916a1 100644 --- a/test/common/config/pkgdep/dnf +++ b/test/common/config/pkgdep/dnf @@ -47,7 +47,6 @@ packages=( socat openssl sshfs - sshpass python3-pandas rpm-build iptables @@ -67,6 +66,12 @@ if [[ $OSID != centos && $OSID != rocky ]] || [[ $OSVERSION != 8* ]]; then packages+=(btrfs-progs) fi +if [[ $OSID == centos && $OSVERSION == 8* ]]; then + packages+=("https://rpmfind.net/linux/centos/8-stream/AppStream/x86_64/os/Packages/sshpass-1.09-4.el8.x86_64.rpm") +else + packages+=(sshpass) +fi + if [[ $OSID == fedora ]] && ((OSVERSION >= 34)); then packages+=(bpftrace) fi