From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 1/6] ci: container: update to Debian Bookworm with GCC v14.2.0
Date: Mon, 12 Aug 2024 11:15:17 +0200 [thread overview]
Message-ID: <20240812091522.3035469-1-a.fatoum@pengutronix.de> (raw)
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>
---
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
next reply other threads:[~2024-08-12 9:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-12 9:15 Ahmad Fatoum [this message]
2024-08-12 9:15 ` [PATCH 2/6] ci: container: add kvx-elf- toolchain Ahmad Fatoum
2024-08-12 9:29 ` Yann Sionneau
2024-08-12 9:15 ` [PATCH 3/6] ci: container: update to newer Labgrid Ahmad Fatoum
2024-08-12 12:52 ` Yann Sionneau
2024-08-12 13:30 ` Ahmad Fatoum
2024-08-12 9:15 ` [PATCH 4/6] test: sandbox: support testing with Labgrid Ahmad Fatoum
2024-08-12 9:15 ` [PATCH 5/6] ci: pytest: test sandbox configuration with labgrid Ahmad Fatoum
2024-08-12 9:15 ` [PATCH 6/6] ci: build: add kvx build test Ahmad Fatoum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240812091522.3035469-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox