]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
install-deps.sh, do_cmake.sh: almalinux is another el flavour
authorDan van der Ster <dan.vanderster@clyso.com>
Thu, 5 Oct 2023 16:50:36 +0000 (09:50 -0700)
committerCasey Bodley <cbodley@redhat.com>
Wed, 10 Jul 2024 21:21:30 +0000 (17:21 -0400)
Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
(cherry picked from commit 6e85f76385c3cffd860a8a3054bf14ce85a43b59)

do_cmake.sh
install-deps.sh

index 90f8a3381df365f044993e04bfbe770f51e0f09e..e7a0cd0fc56a75551e639b7dd5cb946638a9f9c9 100755 (executable)
@@ -26,7 +26,7 @@ if [ -r /etc/os-release ]; then
             PYBUILD="3.11"
           fi
           ;;
-      rocky|rhel|centos)
+      almalinux|rocky|rhel|centos)
           MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
           if [ "$MAJOR_VER" -ge "9" ] ; then
               PYBUILD="3.9"
index cfb64457d2789a9c346c2057fefb3ceab4f7177e..0a21ecf39e129714b1cc454d52ff2563c503eccc 100755 (executable)
@@ -502,14 +502,14 @@ else
             install_cortx_motr_on_ubuntu
         fi
         ;;
-    rocky|centos|fedora|rhel|ol|virtuozzo)
+    almalinux|rocky|centos|fedora|rhel|ol|virtuozzo)
         builddepcmd="dnf -y builddep --allowerasing"
         echo "Using dnf to install dependencies"
         case "$ID" in
             fedora)
                 $SUDO dnf install -y dnf-utils
                 ;;
-            rocky|centos|rhel|ol|virtuozzo)
+            almalinux|rocky|centos|rhel|ol|virtuozzo)
                 MAJOR_VERSION="$(echo $VERSION_ID | cut -d. -f1)"
                 $SUDO dnf install -y dnf-utils selinux-policy-targeted
                 rpm --quiet --query epel-release || \