if test $ID = centos -a $MAJOR_VERSION = 8 ; then
# Enable 'powertools' or 'PowerTools' repo
$SUDO dnf config-manager --set-enabled $(dnf repolist --all 2>/dev/null|gawk 'tolower($0) ~ /^powertools\s/{print $1}')
- case "$ARCH" in
- x86_64)
- $SUDO dnf -y install centos-release-scl
- dts_ver=10
- ;;
- aarch64)
- $SUDO dnf -y install centos-release-scl-rh
- $SUDO dnf config-manager --disable centos-sclo-rh
- $SUDO dnf config-manager --enable centos-sclo-rh-testing
- dts_ver=10
- ;;
- esac
+ dts_ver=10
# before EPEL8 and PowerTools provide all dependencies, we use sepia for the dependencies
$SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
$SUDO dnf config-manager --setopt=apt-mirror.front.sepia.ceph.com_lab-extras_8_.gpgcheck=0 --save