mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ci: container: add FAT image tools to container
@ 2026-06-26 11:31 Ahmad Fatoum
  2026-06-26 11:31 ` [PATCH 2/2] ci: container: enable rustc and bindgen in container Ahmad Fatoum
  2026-06-29  8:48 ` [PATCH 1/2] ci: container: add FAT image tools to container Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2026-06-26 11:31 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

To prepare testing the FAT implementation in future, make the required
host tools explicit in the test container instead of relying on
transitive dependencies.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 test/Containerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/Containerfile b/test/Containerfile
index 23616886d41b..89c975cfbfa0 100644
--- a/test/Containerfile
+++ b/test/Containerfile
@@ -14,6 +14,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
 	bison \
 	build-essential \
 	coreutils \
+	dosfstools \
 	flex \
 	gawk \
 	git \
@@ -32,6 +33,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
 	lzma-alone \
 	lzop \
 	mount \
+	mtools \
 	musl-tools \
 	openssl \
 	pkg-config \
-- 
2.47.3




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

* [PATCH 2/2] ci: container: enable rustc and bindgen in container
  2026-06-26 11:31 [PATCH 1/2] ci: container: add FAT image tools to container Ahmad Fatoum
@ 2026-06-26 11:31 ` Ahmad Fatoum
  2026-06-29  8:48 ` [PATCH 1/2] ci: container: add FAT image tools to container Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Ahmad Fatoum @ 2026-06-26 11:31 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

To make it possible to compile incoming rust code in CI, add the
necessary crates into the container.

Also define LIBCLANG_PATH as otherwise bindgen will fail to run.

Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 test/Containerfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test/Containerfile b/test/Containerfile
index 89c975cfbfa0..296835d080f4 100644
--- a/test/Containerfile
+++ b/test/Containerfile
@@ -56,6 +56,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
 	python3-setuptools \
 	python3-virtualenv \
 	python3-yaml \
+	rustc rust-src bindgen rustfmt rust-clippy \
 	virtualenv \
 	sudo \
 	device-tree-compiler \
@@ -67,6 +68,7 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
 
 ENV GCC_VERSION=15.2.0
 ENV LLVM_VERSION=20
+ENV LIBCLANG_PATH=/usr/lib/llvm-19/lib
 
 RUN apt-get update && apt-get install -y --no-install-recommends lsb-release gnupg \
 	&& wget https://apt.llvm.org/llvm.sh \
-- 
2.47.3




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

* Re: [PATCH 1/2] ci: container: add FAT image tools to container
  2026-06-26 11:31 [PATCH 1/2] ci: container: add FAT image tools to container Ahmad Fatoum
  2026-06-26 11:31 ` [PATCH 2/2] ci: container: enable rustc and bindgen in container Ahmad Fatoum
@ 2026-06-29  8:48 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2026-06-29  8:48 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Fri, 26 Jun 2026 13:31:22 +0200, Ahmad Fatoum wrote:
> To prepare testing the FAT implementation in future, make the required
> host tools explicit in the test container instead of relying on
> transitive dependencies.
> 
> 

Applied, thanks!

[1/2] ci: container: add FAT image tools to container
      https://git.pengutronix.de/cgit/barebox/commit/?id=36bbc65abe47 (link may not be stable)
[2/2] ci: container: enable rustc and bindgen in container
      https://git.pengutronix.de/cgit/barebox/commit/?id=f44ae82e520f (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




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

end of thread, other threads:[~2026-06-29  8:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-26 11:31 [PATCH 1/2] ci: container: add FAT image tools to container Ahmad Fatoum
2026-06-26 11:31 ` [PATCH 2/2] ci: container: enable rustc and bindgen in container Ahmad Fatoum
2026-06-29  8:48 ` [PATCH 1/2] ci: container: add FAT image tools to container Sascha Hauer

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