Skip to content

Commit

Permalink
install-deps.sh, do_cmake.sh: almalinux is another el flavour
Browse files Browse the repository at this point in the history
Signed-off-by: Dan van der Ster <[email protected]>
  • Loading branch information
dvanders committed Oct 5, 2023
1 parent 6c4ed58 commit 6e85f76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion do_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [ -r /etc/os-release ]; then
PYBUILD="3.7"
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"
Expand Down
4 changes: 2 additions & 2 deletions install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -513,14 +513,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 || \
Expand Down

0 comments on commit 6e85f76

Please sign in to comment.