tests/vm: update centos.aarch64 image to 9

As Centos Stream 8 goes out of support we need to update. To do this
powertools is replaced by crb and we don't over specify the python3 we
want.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240603175328.3823123-4-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2024-06-03 18:53:19 +01:00
parent cc1d2e04d5
commit 5ed4e5a15c

View File

@ -25,9 +25,9 @@ DEFAULT_CONFIG = {
'cpu' : "max",
'machine' : "virt,gic-version=max",
'install_cmds' : (
"dnf config-manager --set-enabled powertools, "
"dnf config-manager --enable crb, "
"dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo, "
"dnf install -y make ninja-build git python38 gcc gcc-c++ flex bison "\
"dnf install -y make ninja-build git python3 gcc gcc-c++ flex bison "\
"glib2-devel pixman-devel zlib-devel docker-ce.aarch64, "
"systemctl enable docker, "
),
@ -38,10 +38,10 @@ DEFAULT_CONFIG = {
class CentosAarch64VM(basevm.BaseVM):
name = "centos8.aarch64"
name = "centos9.aarch64"
arch = "aarch64"
image_name = "CentOS-Stream-GenericCloud-8-20220125.1.aarch64.qcow2"
image_link = "https://cloud.centos.org/centos/8-stream/aarch64/images/"
image_name = "CentOS-Stream-GenericCloud-9-20230501.0.aarch64.qcow2"
image_link = "https://cloud.centos.org/centos/9-stream/aarch64/images/"
image_link += image_name
BUILD_SCRIPT = """
set -e;