From 1080ae16b7dcae94bd9eb18068577103ff89b486 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Thu, 30 Oct 2025 21:04:51 -0600 Subject: [PATCH 1/2] Use switch-arm for rm1/rm2 --- toltec/builder.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/toltec/builder.py b/toltec/builder.py index 78ef117..8ffc1b0 100644 --- a/toltec/builder.py +++ b/toltec/builder.py @@ -348,6 +348,15 @@ def _run_script( # pylint: disable=R0913, R0917, R0914 ) ) + elif arch.startswith("rm1") or arch.startswith("rm2"): + pre_script.extend( + ( + "if [ -f /opt/x-tools/switch-arm.sh ]; then", + " source /opt/x-tools/switch-arm.sh", + "fi", + ) + ) + return bash.run_script_in_container( self.docker, image=self.IMAGE_PREFIX + image, From 0f7272f1caa931f06050237fc49edd6d98b31060 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Thu, 30 Oct 2025 21:05:19 -0600 Subject: [PATCH 2/2] Bump version from 0.5.3 to 0.5.4 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7e93eab..1070897 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "toltecmk" -version = "0.5.3" +version = "0.5.4" authors = [ { name="Mattéo Delabre", email="git.matteo@delab.re" }, { name="Eeems", email="eeems@eeems.email" },