mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/7] ci: container: update to Debian Bookworm with GCC v14.2.0
@ 2024-08-13  7:01 Ahmad Fatoum
  2024-08-13  7:01 ` [PATCH 2/7] ci: container: add kvx-elf- toolchain Ahmad Fatoum
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Ahmad Fatoum @ 2024-08-13  7:01 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

We have been using the same distro/toolchain for more than a year now,
so let's update them to their newest versions.

pip3 now warns that we are not in a venv. Acknowledge this and ignore
it as we want labgrid to be available to pytest in the container without
having to source a virtualenv first.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
v1 -> v2:
  - no change
---
 test/Containerfile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/test/Containerfile b/test/Containerfile
index fe3e3a6186b0..06d155bf4d28 100644
--- a/test/Containerfile
+++ b/test/Containerfile
@@ -2,7 +2,7 @@
 # This Containerfile is used to build an image containing basic stuff to be used
 # to build barebox and run our test suites.
 
-FROM debian:bullseye
+FROM debian:bookworm
 MAINTAINER Sascha Hauer <s.hauer@pengutronix.de>
 LABEL Description="This image is for building and testing barebox inside a container"
 
@@ -49,7 +49,7 @@ RUN apt-get update && apt-get install -y \
 	u-boot-tools \
 	&& rm -rf /var/lib/apt/lists/*
 
-ENV GCC_VERSION=13.1.0
+ENV GCC_VERSION=14.2.0
 
 # Manually install the kernel.org Crosstool based toolchains
 RUN korg_crosstool_dl() { wget -nv -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/${1}/${2}/${1}-gcc-${2}-nolibc-${3}.tar.xz | tar -C /opt -xJ ; } && \
@@ -70,7 +70,7 @@ RUN echo barebox ALL=NOPASSWD: ALL > /etc/sudoers.d/barebox
 RUN cd /tmp && \
     git clone --depth 1 -b v23.0 https://github.com/labgrid-project/labgrid && \
     cd labgrid && \
-    pip3 install . && \
+    pip3 install --break-system-packages . && \
     ln -s $(which pytest) /usr/local/bin/labgrid-pytest;
 
 ENV CROSS_COMPILE_arm=/opt/gcc-${GCC_VERSION}-nolibc/arm-linux-gnueabi/bin/arm-linux-gnueabi-
-- 
2.39.2




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2024-08-14  7:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-13  7:01 [PATCH 1/7] ci: container: update to Debian Bookworm with GCC v14.2.0 Ahmad Fatoum
2024-08-13  7:01 ` [PATCH 2/7] ci: container: add kvx-elf- toolchain Ahmad Fatoum
2024-08-13  7:01 ` [PATCH 3/7] ci: container: update to newest Labgrid release Ahmad Fatoum
2024-08-13  7:01 ` [PATCH 4/7] test: sandbox: support testing with Labgrid Ahmad Fatoum
2024-08-13  7:01 ` [PATCH 5/7] ci: pytest: test sandbox configuration with labgrid Ahmad Fatoum
2024-08-13  7:02 ` [PATCH 6/7] ci: build: add kvx build test Ahmad Fatoum
2024-08-13  7:02 ` [PATCH 7/7] test: py: strategy: drop no longer needed labgrid workarounds Ahmad Fatoum
2024-08-14  7:49 ` [PATCH 1/7] ci: container: update to Debian Bookworm with GCC v14.2.0 Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox