]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils: enable crb for c9s via dnf config-manager
authorJustin Caratzas <jcaratza@redhat.com>
Tue, 24 May 2022 16:05:31 +0000 (12:05 -0400)
committerJustin Caratzas <jcaratza@redhat.com>
Tue, 14 Jun 2022 15:42:46 +0000 (11:42 -0400)
scripts/build_utils.sh

index be813346eaa53e0b2b4edc011483770e3db8eceb..27bed87c4b48abf28e6becac69ffcbe611ff0034 100755 (executable)
@@ -1345,10 +1345,9 @@ setup_rpm_build_deps() {
 
     elif [ "$RELEASE" = 9 ]; then
         $SUDO dnf -y copr enable ceph/el9
+        $SUDO dnf config-manager --set-enabled crb
+        
         $SUDO dnf -y install epel-next-release
-
-        $SUDO dnf config-manager --add-repo http://mirror.stream.centos.org/9-stream/CRB/x86_64/os/
-
         $SUDO dnf -y install javapackages-tools
     fi