]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
install-deps.sh: enable CRB/PowerTool repo for RHEL/CentOS 8
authorKefu Chai <kchai@redhat.com>
Tue, 1 Oct 2019 09:31:52 +0000 (17:31 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 1 Oct 2019 10:28:16 +0000 (18:28 +0800)
see also https://fedoraproject.org/wiki/EPEL

Signed-off-by: Kefu Chai <kchai@redhat.com>
install-deps.sh

index 18bc62c5f5dc55e8006a0a2ab89ad4ac19cf65c6..eb7a4e7868e7474fc8c3de17c012933280d4f225 100755 (executable)
@@ -390,6 +390,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