]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
install-deps.sh: enable crb repository for centos 10 stream
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 13 Feb 2025 21:00:27 +0000 (16:00 -0500)
committerDavid Galloway <david.galloway@ibm.com>
Wed, 23 Jul 2025 20:58:55 +0000 (16:58 -0400)
The centos 10 stream distribution is like centos 9 and needs the crb
repository enabled to even think about building ceph. Note that I made
it a separate block in case more stuff needs to be added for it later.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit de8b21d7bdfced09a0eec2a6002bb68748d96d2d)

install-deps.sh

index a90f72587bb4ca0625a24452440c17595d4a6466..670acc806210df49a894bf68d6be05ebf1edf1e4 100755 (executable)
@@ -538,6 +538,8 @@ else
                     $SUDO dnf -y module enable javapackages-tools
                 elif test $ID = centos -a $MAJOR_VERSION = 9 ; then
                     $SUDO dnf config-manager --set-enabled crb
+                elif test $ID = centos -a $MAJOR_VERSION = 10 ; then
+                    $SUDO dnf config-manager --set-enabled crb
                 elif test $ID = rhel -a $MAJOR_VERSION = 8 ; then
                     dts_ver=11
                     $SUDO dnf config-manager --set-enabled "codeready-builder-for-rhel-8-${ARCH}-rpms"