From: John Mulligan Date: Thu, 13 Feb 2025 21:00:27 +0000 (-0500) Subject: install-deps.sh: enable crb repository for centos 10 stream X-Git-Tag: testing/wip-vshankar-testing-20250807.131725-reef-debug~13^2~14 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=39b1a9ae8c3c5d0a35281a848fc1e526e4095ad2;p=ceph-ci.git install-deps.sh: enable crb repository for centos 10 stream 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 (cherry picked from commit de8b21d7bdfced09a0eec2a6002bb68748d96d2d) --- diff --git a/install-deps.sh b/install-deps.sh index a90f72587bb..670acc80621 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -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"