]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Merge pull request #53849 from dvanders/dvanders_alma
authorCasey Bodley <cbodley@users.noreply.github.com>
Tue, 25 Jun 2024 15:10:21 +0000 (16:10 +0100)
committerGitHub <noreply@github.com>
Tue, 25 Jun 2024 15:10:21 +0000 (16:10 +0100)
install-deps.sh, do_cmake.sh: almalinux is another el flavour

Reviewed-by: John Mulligan <jmulligan@redhat.com>
1  2 
do_cmake.sh
install-deps.sh

diff --cc do_cmake.sh
index fb66362df0c15057c420b5860090d0e2ae756e17,c6dbfd10044d08d86765c8aac157e18f1b6a92c5..50befc81a49ca977f5f7923e96c6b1f9b5a20abe
@@@ -19,14 -19,19 +19,14 @@@ if [ -r /etc/os-release ]; the
    source /etc/os-release
    case "$ID" in
        fedora)
 -          if [ "$VERSION_ID" -ge "37" ] ; then
 -            PYBUILD="3.11"
 -          elif [ "$VERSION_ID" -ge "35" ] ; then
 -            PYBUILD="3.10"
 -          elif [ "$VERSION_ID" -ge "33" ] ; then
 -            PYBUILD="3.9"
 -          elif [ "$VERSION_ID" -ge "32" ] ; then
 -            PYBUILD="3.8"
 +          if [ "$VERSION_ID" -ge "39" ] ; then
 +            PYBUILD="3.12"
            else
 -            PYBUILD="3.7"
 +            # Fedora 37 and above
 +            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"
diff --cc install-deps.sh
index f9138c13845fbd70ab33dba386350e43d2c3bcff,ba05c26c607dceae3cadb3c6ebe869fa5020ae8a..0f112d2d92d935a857412c09219a0658e4c811c5
@@@ -462,8 -507,13 +462,8 @@@ els
          ci_debug "Removing ceph-build-deps"
          $SUDO env DEBIAN_FRONTEND=noninteractive apt-get -y remove ceph-build-deps
          if [ "$control" != "debian/control" ] ; then rm $control; fi
 -
 -        # for rgw motr backend build checks
 -        if $with_rgw_motr; then
 -            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