summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2025-11-30 14:34:58 -0600
committerTom Rini <[email protected]>2025-12-01 09:17:48 -0600
commit7654ea186578b13a59f71444b8560e299ac78c27 (patch)
tree5984805c6adea73a01b1063afccb6008a77e81f5 /tools
parentd69c937b309f57462ba046c72657060d76503cb3 (diff)
parent6e39395a1869d9fb850e5bf5e9ba2da4663ac873 (diff)
Merge patch series "CI: use mirrors for GNU tools"
Quentin Schulz <[email protected]> says: I have to add one (1) package to the Dockerfile as a new dependency and wanted to build the image to verify it works. I wasn't able to because GNU servers are just not reliable at all. The git server URL we're using doesn't seem to be a mirrored one, and switching to mirror URLs seem to make fetching possible again. Unfortunately, we don't have the option to do that for coreboot's dependencies, though we can ask coreboot to download the dependencies through its own mirror, which we do in this series. Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools')
-rw-r--r--tools/docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 32deb53fbbc..eb71460219f 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -152,12 +152,12 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
zip
# Build GRUB UEFI targets for ARM & RISC-V, 32-bit and 64-bit
-RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub && \
+RUN git clone https://https.git.savannah.gnu.org/git/grub.git /tmp/grub && \
cd /tmp/grub && \
git checkout grub-2.12 && \
git config --global user.name "GitLab CI Runner" && \
git config --global user.email [email protected] && \
- ./bootstrap && \
+ GNULIB_URL=https://https.git.savannah.gnu.org/git/gnulib.git ./bootstrap && \
mkdir -p /opt/grub && \
./configure --target=aarch64 --with-platform=efi \
CC=gcc \
@@ -321,7 +321,7 @@ RUN git clone https://github.com/stefanberger/swtpm /tmp/swtpm && \
# 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 && \