From 8cbef7c0dca1b3b8192348eb09fe3e87f6bce222 Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Tue, 29 Sep 2020 12:33:59 +0200 Subject: [PATCH] pkgdep/swupd: Don't try to install tsocks on clearlinux Due to a typo from c7d1abba18 the installation was being skipped regardless. Also, according to: https://docs.01.org/clearlinux/latest/reference/bundles/bundles.html "tsocks" package is not available in the clearlinux bundles hence there's no need to waste cycles on trying to install it at all. Change-Id: I1edc877ed660e1262aaa1d5b308cf4f9e23daf8a Signed-off-by: Michal Berger Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4459 Tested-by: SPDK CI Jenkins Reviewed-by: Tomasz Zawadzki Reviewed-by: Shuhei Matsumoto Reviewed-by: Mellanox Build Bot --- test/common/config/pkgdep/swupd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/common/config/pkgdep/swupd b/test/common/config/pkgdep/swupd index c1d2a8a6b..4129328cb 100644 --- a/test/common/config/pkgdep/swupd +++ b/test/common/config/pkgdep/swupd @@ -15,7 +15,7 @@ packages=( ) pre_install() { - if [[ $INTSALL_TSOCKS == true ]]; then - install tsocks || echo "Installation of the tsocks package failed, proxy may not be available" + if [[ $INSTALL_TSOCKS == true ]]; then + "tsocks package not present in clearlinux, proxy may not be available" fi }