]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
CI: use coreboot mirror for GNU dependencies of coreboot
authorQuentin Schulz <quentin.schulz@cherry.de>
Thu, 27 Nov 2025 13:29:28 +0000 (14:29 +0100)
committerTom Rini <trini@konsulko.com>
Sun, 30 Nov 2025 19:45:56 +0000 (13:45 -0600)
coreboot buildgcc script downloads GNU dependencies from GNU FTP server.
For some reason, this is also as unreliable as their git main server.
There's no option to use a GNU mirror (and I'm not even sure if there's
one for FTP), so we simply pass --mirror to the buildgcc script via the
BUILDGCC_OPTIONS variable so that it makes use of coreboot's mirror.
Hopefully, this proves more reliable than GNU original FTP server.

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
tools/docker/Dockerfile

index 440a3c392931316447a9cb4b8b0bcac1388bedc2..bc45f59d6e752f8a69bef3a3218e82c0abce6505 100644 (file)
@@ -329,7 +329,7 @@ RUN mkdir /tmp/trace && \
 # Build coreboot
 RUN wget -O - https://coreboot.org/releases/coreboot-25.03.tar.xz | tar -C /tmp -xJ && \
     cd /tmp/coreboot-25.03 && \
-    make crossgcc-i386 CPUS=$(nproc) && \
+    make BUILDGCC_OPTIONS="--mirror" crossgcc-i386 CPUS=$(nproc) && \
     make -C payloads/coreinfo olddefconfig && \
     make -C payloads/coreinfo && \
     make olddefconfig && \