From 64b7a8aeee8ca06f304d5c2a76db917bc3dcb3bb Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 1 Oct 2019 17:31:52 +0800 Subject: [PATCH] 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) --- install-deps.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install-deps.sh b/install-deps.sh index ba3ab8760175c..0fccd5b621f3f 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 -- 2.39.5