pkgdep/dnf: Refresh repo on Centos8
The d09acccf
changed the order in which dnf, yum managers are picked
up, however, the refresh step was not moved to dnf which actually is
by default shipped with Centos8. Simply add the missing step.
Change-Id: I6f845d794b79ff01d4abfff098b0b29a9c489189
Signed-off-by: Michal Berger <michalx.berger@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4015
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
This commit is contained in:
parent
f1896c3d1c
commit
8a0d613e6f
@ -67,6 +67,9 @@ pre_install() {
|
||||
# FIXME: Review when fedora starts to successfully build this package again.
|
||||
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
|
||||
}
|
||||
|
||||
if [[ $OSID != fedora ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user