scripts/pkgdep: Add Software Collections repo to centos7

This one provides devtoolset packages which can be used for adding
alternatives for some older packages like gcc for instance. Useful
for the CI to bring newer stuff into VMs.

Signed-off-by: Michal Berger <michalx.berger@intel.com>
Change-Id: Ia82d712e670177f37256a999f5dc2a07784d2218
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/9500
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Karol Latecki <karol.latecki@intel.com>
This commit is contained in:
Michal Berger 2021-09-14 17:02:05 +02:00 committed by Tomasz Zawadzki
parent a90e749f44
commit 1670d1ddf1

View File

@ -38,6 +38,7 @@ if [[ $ID == centos || $ID == rhel ]]; then
repos+=("https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm")
repos+=("https://www.elrepo.org/elrepo-release-7.el7.elrepo.noarch.rpm")
[[ $ID == centos ]] && repos+=("centos-release-ceph-nautilus.noarch")
[[ $ID == centos ]] && repos+=("centos-release-scl-rh")
# Disable liburing, see https://github.com/spdk/spdk/issues/1564
if [[ $INSTALL_LIBURING == true ]]; then
echo "Liburing not supported on ${ID}$VERSION_ID, disabling"