From: Quentin Schulz <[email protected]> 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.
Signed-off-by: Quentin Schulz <[email protected]> --- tools/docker/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index 85274c303c8..b89e3025a3e 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -330,7 +330,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 && \ -- 2.51.1

