install-deps.sh, do_cmake.sh: almalinux is another el flavour
Reviewed-by: John Mulligan <jmulligan@redhat.com>
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"
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