]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: enable CRB/PowerTool repo for RHEL/CentOS 8 35599/head
authorKefu Chai <kchai@redhat.com>
Tue, 1 Oct 2019 09:31:52 +0000 (17:31 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 17 Jun 2020 13:42:05 +0000 (21:42 +0800)
see also https://fedoraproject.org/wiki/EPEL

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit d301137bb16d4e530745172624ed9800a9b4c5ae)

install-deps.sh

index ba3ab8760175ccf5ab5072007c1fa263c006cb93..0fccd5b621f3f64d8dbc4e3a17b90f66d5b1b458 100755 (executable)
@@ -364,6 +364,10 @@ else
                          --enable rhel-server-rhscl-7-rpms \
                          --enable rhel-7-server-devtools-rpms
                     dts_ver=8
+                elif test $ID = centos -a $MAJOR_VERSION = 8 ; then
+                    $SUDO dnf config-manager --set-enabled PowerTools
+                elif test $ID = rhel -a $MAJOR_VERSION = 8 ; then
+                    $SUDO subscription-manager repos --enable "codeready-builder-for-rhel-8-*-rpms"
                 fi
                 ;;
         esac