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
  0 siblings, 1 reply; 2+ 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] 2+ 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
  0 siblings, 0 replies; 2+ 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] 2+ messages in thread

end of thread, other threads:[~2026-06-26 11:37 UTC | newest]

Thread overview: 2+ 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

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