From: Dan van der Ster Date: Thu, 5 Oct 2023 16:50:36 +0000 (-0700) Subject: install-deps.sh, do_cmake.sh: almalinux is another el flavour X-Git-Tag: v18.2.5~550^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=619382a06a389120656b9dcc8aac59c67b14b439;p=ceph.git install-deps.sh, do_cmake.sh: almalinux is another el flavour Signed-off-by: Dan van der Ster (cherry picked from commit 6e85f76385c3cffd860a8a3054bf14ce85a43b59) Conflicts: do_cmake.sh add rocky too --- diff --git a/do_cmake.sh b/do_cmake.sh index 50274547fbf99..efb0ed55d178a 100755 --- a/do_cmake.sh +++ b/do_cmake.sh @@ -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" diff --git a/install-deps.sh b/install-deps.sh index 70f5971e56e76..17c72e2c96775 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -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 || \