]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh, do_cmake.sh: almalinux is another el flavour 58522/head
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:23:05 +0000 (17:23 -0400)
Signed-off-by: Dan van der Ster <dan.vanderster@clyso.com>
(cherry picked from commit 6e85f76385c3cffd860a8a3054bf14ce85a43b59)

Conflicts:
do_cmake.sh add rocky too

do_cmake.sh
install-deps.sh

index 50274547fbf995795d11e2bd070fd72f4a941aa3..efb0ed55d178a5f22ea9fe071a796a3909416f99 100755 (executable)
@@ -29,7 +29,7 @@ if [ -r /etc/os-release ]; then
             PYBUILD="3.7"
           fi
           ;;
-      rhel|centos)
+      almalinux|rocky|rhel|centos)
           MAJOR_VER=$(echo "$VERSION_ID" | sed -e 's/\..*$//')
           if [ "$MAJOR_VER" -ge "9" ] ; then
               PYBUILD="3.9"
index 70f5971e56e769fcbcd94ab3d79651afabe8c8b4..17c72e2c96775ffab98906b3ec6332c5208464ed 100755 (executable)
@@ -437,14 +437,14 @@ EOF
             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 || \