summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-11-27 14:29:28 +0100
committerTom Rini <[email protected]>2025-11-30 13:45:56 -0600
commit6e39395a1869d9fb850e5bf5e9ba2da4663ac873 (patch)
tree7a6bf113d55c2169b3d34f154cc16257521de9c3
parent93316f15339d6b696f58a0ef99b057bd45b76c2b (diff)
CI: use coreboot mirror for GNU dependencies of coreboot
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 <[email protected]> Signed-off-by: Quentin Schulz <[email protected]>
-rw-r--r--tools/docker/Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 440a3c39293..bc45f59d6e7 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -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 && \