]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
build/ops: enable CR in CentOS 7
authorLoic Dachary <ldachary@redhat.com>
Tue, 8 Dec 2015 07:02:56 +0000 (08:02 +0100)
committerNathan Cutler <ncutler@suse.com>
Fri, 4 Oct 2019 14:50:26 +0000 (16:50 +0200)
To get libunwind from the CR repositories until CentOS 7.2.1511 is released.

http://tracker.ceph.com/issues/13997 Fixes: #13997

Signed-off-by: Loic Dachary <loic@dachary.org>
(cherry picked from commit 247ee6084b58861da601d349bdba739b252d96de)

install-deps.sh

index 61cc21d547772e95cc2a93b98b997b51de32083b..796f3b74aa383eaa03a5e0bb104f90ec3d1233dd 100755 (executable)
@@ -176,6 +176,9 @@ else
                 $SUDO yum install --nogpgcheck -y epel-release
                 $SUDO rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-$MAJOR_VERSION
                 $SUDO rm -f /etc/yum.repos.d/dl.fedoraproject.org*
+                if test $(lsb_release -si) = CentOS -a $MAJOR_VERSION = 7 ; then
+                    $SUDO yum-config-manager --enable cr
+                fi
                 ;;
         esac
         munge_ceph_spec_in $DIR/ceph.spec