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 <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4459
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Mellanox Build Bot
This commit is contained in:
Michal Berger 2020-09-29 12:33:59 +02:00 committed by Tomasz Zawadzki
parent b4fc019be1
commit 8cbef7c0dc

View File

@ -15,7 +15,7 @@ packages=(
) )
pre_install() { pre_install() {
if [[ $INTSALL_TSOCKS == true ]]; then if [[ $INSTALL_TSOCKS == true ]]; then
install tsocks || echo "Installation of the tsocks package failed, proxy may not be available" "tsocks package not present in clearlinux, proxy may not be available"
fi fi
} }