From: Kefu Chai Date: Tue, 1 Oct 2019 09:31:52 +0000 (+0800) Subject: install-deps.sh: enable CRB/PowerTool repo for RHEL/CentOS 8 X-Git-Tag: v14.2.10~2^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=64b7a8aeee8ca06f304d5c2a76db917bc3dcb3bb;p=ceph.git install-deps.sh: enable CRB/PowerTool repo for RHEL/CentOS 8 see also https://fedoraproject.org/wiki/EPEL Signed-off-by: Kefu Chai (cherry picked from commit d301137bb16d4e530745172624ed9800a9b4c5ae) --- diff --git a/install-deps.sh b/install-deps.sh index ba3ab8760175..0fccd5b621f3 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -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