Spdk/test/common/config/pkgdep/os/rhel
Michal Berger b74427e9b6 pkgpdep: Fix typos, update comments
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: I000087b4ecf6f887fb5d5c300215b72eee373115
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9553
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
2022-06-30 13:32:25 -04:00

17 lines
570 B
Plaintext

pre_install() {
if [[ $INSTALL_TSOCKS == true ]]; then
# tsocks package is not available in latest fedora releases, so don't exit in case
# installation failed.
install tsocks || echo "Installation of the tsocks package failed, proxy may not be available"
fi
if [[ $ID == centos ]] && (( VERSION_ID == 8 )); then
sudo "$package_manager" update -y --refresh
fi
install nbd || {
install wget
wget -O nbd.rpm https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/n/nbd-3.14-2.el7.x86_64.rpm
install nbd.rpm
}
}