]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Thu, 31 Jul 2025 21:51:17 +0000 (17:51 -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 cd83dfe6628bd52e4f03896ec1bf5e92bb2e937f..958ebdb82e73b6f0b6195194e274ffdf4cfdbe5e 100755 (executable)
@@ -527,6 +527,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"