]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: install additional repo for RHEL8
authorKefu Chai <kchai@redhat.com>
Thu, 12 Mar 2020 06:14:28 +0000 (14:14 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 12 Mar 2020 06:52:13 +0000 (14:52 +0800)
these home-brew repos are shared by CentOS8 and RHEL8

Signed-off-by: Dan Mick <dan.mick@redhat.com>
install-deps.sh

index c725b6ee3863af0174b0e4f5bf2798db4fdd7e0a..9ea811abc959eefa5bc530dd9fb3963886b59cd9 100755 (executable)
@@ -367,11 +367,14 @@ else
                 elif test $ID = centos -a $MAJOR_VERSION = 8 ; then
                     $SUDO dnf config-manager --set-enabled PowerTools
                    # 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
+                    $SUDO dnf copr enable -y ktdreyer/ceph-el8
+                elif test $ID = rhel -a $MAJOR_VERSION = 8 ; then
+                    $SUDO subscription-manager repos --enable "codeready-builder-for-rhel-8-*-rpms"
                    $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
                    $SUDO dnf copr enable -y ktdreyer/ceph-el8
-                elif test $ID = rhel -a $MAJOR_VERSION = 8 ; then
-                    $SUDO subscription-manager repos --enable "codeready-builder-for-rhel-8-*-rpms"
                 fi
                 ;;
         esac