Update tests for Rocky Linux

Change-Id: Ia2d5e704d3d4918f8d55f2102a3c4bef59dab303
Signed-off-by: Neil Hanlon <neil@shrug.pw>
This commit is contained in:
Neil Hanlon 2022-03-25 09:00:13 -04:00
parent 52acfb2c81
commit b4c12a25c7
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ source /etc/os-release || source /usr/lib/os-release
# Figure out the appropriate package install command # Figure out the appropriate package install command
case ${ID,,} in case ${ID,,} in
centos|rhel|fedora) pkg_mgr_cmd="dnf install -y" ;; centos|rhel|fedora|rocky) pkg_mgr_cmd="dnf install -y" ;;
ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;; ubuntu|debian) pkg_mgr_cmd="apt-get install -y" ;;
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;; *) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
esac esac

View File

@ -44,7 +44,7 @@ BINDEP_FILE=${BINDEP_FILE:-bindep.txt}
# Perform the initial distribution package install # Perform the initial distribution package install
# to allow pip and bindep to work. # to allow pip and bindep to work.
case "${ID,,}" in case "${ID,,}" in
amzn|centos|rhel) amzn|centos|rhel|rocky)
pkg_list="python3-devel python3-virtualenv redhat-lsb-core" pkg_list="python3-devel python3-virtualenv redhat-lsb-core"
;; ;;
fedora) fedora)