Remove the continuous release repos for CentOS and Virtuozzo 7 as they
should no longer be needed since http://tracker.ceph.com/issues/13997 is
no longer relevant and the newer versions of selinux packages pulled in
by the build system are causing problems for systems without CR repos
enabled.
Fixes: https://tracker.ceph.com/issues/37335
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
(cherry picked from commit
f39d9b7d1f4f2b63233802211a9ed0e641446ca1)
$SUDO rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$VERSION_ID
$SUDO rm -f /etc/yum.repos.d/dl.fedoraproject.org*
if test $ID = centos -a $VERSION_ID = 7 ; then
- $SUDO yum-config-manager --enable cr
case $(uname -m) in
x86_64)
$SUDO yum -y install centos-release-scl
elif test $ID = rhel -a $MAJOR_VERSION = 7 ; then
$SUDO yum-config-manager --enable rhel-server-rhscl-7-rpms
dts_ver=7
- elif test $ID = virtuozzo -a $MAJOR_VERSION = 7 ; then
- $SUDO yum-config-manager --enable cr
fi
;;
esac