155 lines
6.2 KiB
Diff
155 lines
6.2 KiB
Diff
|
|
From ea21c12b545ad6eecded5f34472d3f226f5a2e15 Mon Sep 17 00:00:00 2001
|
||
|
|
From: =?UTF-8?q?Alex=20Benn=C3=A9e?= <alex.bennee@linaro.org>
|
||
|
|
Date: Tue, 10 Sep 2024 18:38:52 +0100
|
||
|
|
Subject: [PATCH] tests/docker: update debian i686 and mipsel images to
|
||
|
|
bookworm
|
||
|
|
MIME-Version: 1.0
|
||
|
|
Content-Type: text/plain; charset=UTF-8
|
||
|
|
Content-Transfer-Encoding: 8bit
|
||
|
|
|
||
|
|
Whatever issues there were which stopped these being updates when the
|
||
|
|
rest were have now been resolved. However mips64el continues to be
|
||
|
|
broken so don't update it here.
|
||
|
|
|
||
|
|
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
|
||
|
|
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
|
||
|
|
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
|
||
|
|
Message-Id: <20240910173900.4154726-3-alex.bennee@linaro.org>
|
||
|
|
(cherry picked from commit 19d2111059c87d3f58349f27b9be9dee81fc1681)
|
||
|
|
Signed-off-by: zhujun2 <zhujun2_yewu@cmss.chinamobile.com>
|
||
|
|
---
|
||
|
|
tests/docker/dockerfiles/debian-i686-cross.docker | 10 ++++------
|
||
|
|
tests/docker/dockerfiles/debian-mipsel-cross.docker | 10 ++++------
|
||
|
|
tests/lcitool/refresh | 4 ++--
|
||
|
|
3 files changed, 10 insertions(+), 14 deletions(-)
|
||
|
|
|
||
|
|
diff --git a/tests/docker/dockerfiles/debian-i686-cross.docker b/tests/docker/dockerfiles/debian-i686-cross.docker
|
||
|
|
index 3fc4e15acd..e1c8e2b494 100644
|
||
|
|
--- a/tests/docker/dockerfiles/debian-i686-cross.docker
|
||
|
|
+++ b/tests/docker/dockerfiles/debian-i686-cross.docker
|
||
|
|
@@ -1,10 +1,10 @@
|
||
|
|
# THIS FILE WAS AUTO-GENERATED
|
||
|
|
#
|
||
|
|
-# $ lcitool dockerfile --layers all --cross-arch i686 debian-11 qemu
|
||
|
|
+# $ lcitool dockerfile --layers all --cross-arch i686 debian-12 qemu
|
||
|
|
#
|
||
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
||
|
|
|
||
|
|
-FROM docker.io/library/debian:11-slim
|
||
|
|
+FROM docker.io/library/debian:12-slim
|
||
|
|
|
||
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
|
apt-get update && \
|
||
|
|
@@ -47,16 +47,15 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
|
python3-opencv \
|
||
|
|
python3-pillow \
|
||
|
|
python3-pip \
|
||
|
|
- python3-setuptools \
|
||
|
|
python3-sphinx \
|
||
|
|
python3-sphinx-rtd-theme \
|
||
|
|
python3-venv \
|
||
|
|
- python3-wheel \
|
||
|
|
python3-yaml \
|
||
|
|
rpm2cpio \
|
||
|
|
sed \
|
||
|
|
socat \
|
||
|
|
sparse \
|
||
|
|
+ swtpm \
|
||
|
|
tar \
|
||
|
|
tesseract-ocr \
|
||
|
|
tesseract-ocr-eng \
|
||
|
|
@@ -67,8 +66,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
||
|
|
dpkg-reconfigure locales
|
||
|
|
|
||
|
|
-RUN /usr/bin/pip3 install tomli
|
||
|
|
-
|
||
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|
||
|
|
ENV LANG "en_US.UTF-8"
|
||
|
|
ENV MAKE "/usr/bin/make"
|
||
|
|
@@ -145,6 +142,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
|
libvdeplug-dev:i386 \
|
||
|
|
libvirglrenderer-dev:i386 \
|
||
|
|
libvte-2.91-dev:i386 \
|
||
|
|
+ libxdp-dev:i386 \
|
||
|
|
libzstd-dev:i386 \
|
||
|
|
nettle-dev:i386 \
|
||
|
|
systemtap-sdt-dev:i386 \
|
||
|
|
diff --git a/tests/docker/dockerfiles/debian-mipsel-cross.docker b/tests/docker/dockerfiles/debian-mipsel-cross.docker
|
||
|
|
index 5fcd641f15..79ce4ae503 100644
|
||
|
|
--- a/tests/docker/dockerfiles/debian-mipsel-cross.docker
|
||
|
|
+++ b/tests/docker/dockerfiles/debian-mipsel-cross.docker
|
||
|
|
@@ -1,10 +1,10 @@
|
||
|
|
# THIS FILE WAS AUTO-GENERATED
|
||
|
|
#
|
||
|
|
-# $ lcitool dockerfile --layers all --cross-arch mipsel debian-11 qemu
|
||
|
|
+# $ lcitool dockerfile --layers all --cross-arch mipsel debian-12 qemu
|
||
|
|
#
|
||
|
|
# https://gitlab.com/libvirt/libvirt-ci
|
||
|
|
|
||
|
|
-FROM docker.io/library/debian:11-slim
|
||
|
|
+FROM docker.io/library/debian:12-slim
|
||
|
|
|
||
|
|
RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
|
apt-get update && \
|
||
|
|
@@ -47,16 +47,15 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
|
python3-opencv \
|
||
|
|
python3-pillow \
|
||
|
|
python3-pip \
|
||
|
|
- python3-setuptools \
|
||
|
|
python3-sphinx \
|
||
|
|
python3-sphinx-rtd-theme \
|
||
|
|
python3-venv \
|
||
|
|
- python3-wheel \
|
||
|
|
python3-yaml \
|
||
|
|
rpm2cpio \
|
||
|
|
sed \
|
||
|
|
socat \
|
||
|
|
sparse \
|
||
|
|
+ swtpm \
|
||
|
|
tar \
|
||
|
|
tesseract-ocr \
|
||
|
|
tesseract-ocr-eng \
|
||
|
|
@@ -67,8 +66,6 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
|
sed -Ei 's,^# (en_US\.UTF-8 .*)$,\1,' /etc/locale.gen && \
|
||
|
|
dpkg-reconfigure locales
|
||
|
|
|
||
|
|
-RUN /usr/bin/pip3 install tomli
|
||
|
|
-
|
||
|
|
ENV CCACHE_WRAPPERSDIR "/usr/libexec/ccache-wrappers"
|
||
|
|
ENV LANG "en_US.UTF-8"
|
||
|
|
ENV MAKE "/usr/bin/make"
|
||
|
|
@@ -143,6 +140,7 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
|
||
|
|
libvdeplug-dev:mipsel \
|
||
|
|
libvirglrenderer-dev:mipsel \
|
||
|
|
libvte-2.91-dev:mipsel \
|
||
|
|
+ libxdp-dev:mipsel \
|
||
|
|
libzstd-dev:mipsel \
|
||
|
|
nettle-dev:mipsel \
|
||
|
|
systemtap-sdt-dev:mipsel \
|
||
|
|
diff --git a/tests/lcitool/refresh b/tests/lcitool/refresh
|
||
|
|
index 0c93557ad6..42ed7eba1d 100755
|
||
|
|
--- a/tests/lcitool/refresh
|
||
|
|
+++ b/tests/lcitool/refresh
|
||
|
|
@@ -159,7 +159,7 @@ try:
|
||
|
|
trailer=cross_build("arm-linux-gnueabihf-",
|
||
|
|
"arm-softmmu,arm-linux-user"))
|
||
|
|
|
||
|
|
- generate_dockerfile("debian-i686-cross", "debian-11",
|
||
|
|
+ generate_dockerfile("debian-i686-cross", "debian-12",
|
||
|
|
cross="i686",
|
||
|
|
trailer=cross_build("x86_64-linux-gnu-",
|
||
|
|
"x86_64-softmmu,"
|
||
|
|
@@ -171,7 +171,7 @@ try:
|
||
|
|
trailer=cross_build("mips64el-linux-gnuabi64-",
|
||
|
|
"mips64el-softmmu,mips64el-linux-user"))
|
||
|
|
|
||
|
|
- generate_dockerfile("debian-mipsel-cross", "debian-11",
|
||
|
|
+ generate_dockerfile("debian-mipsel-cross", "debian-12",
|
||
|
|
cross="mipsel",
|
||
|
|
trailer=cross_build("mipsel-linux-gnu-",
|
||
|
|
"mipsel-softmmu,mipsel-linux-user"))
|
||
|
|
--
|
||
|
|
2.41.0.windows.1
|
||
|
|
|