Update tests for Rocky Linux
Change-Id: Ia2d5e704d3d4918f8d55f2102a3c4bef59dab303 Signed-off-by: Neil Hanlon <neil@shrug.pw>
This commit is contained in:
parent
52acfb2c81
commit
b4c12a25c7
@ -53,7 +53,7 @@ source /etc/os-release || source /usr/lib/os-release
|
||||
|
||||
# Figure out the appropriate package install command
|
||||
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" ;;
|
||||
*) echo "unsupported distribution: ${ID,,}"; exit 1 ;;
|
||||
esac
|
||||
|
@ -44,7 +44,7 @@ BINDEP_FILE=${BINDEP_FILE:-bindep.txt}
|
||||
# Perform the initial distribution package install
|
||||
# to allow pip and bindep to work.
|
||||
case "${ID,,}" in
|
||||
amzn|centos|rhel)
|
||||
amzn|centos|rhel|rocky)
|
||||
pkg_list="python3-devel python3-virtualenv redhat-lsb-core"
|
||||
;;
|
||||
fedora)
|
||||
|
Loading…
Reference in New Issue
Block a user