U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Quentin Schulz <foss+uboot@0leil.net>
To: u-boot@lists.denx.de
Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org>,
	 Heinrich Schuchardt <xypron.glpk@gmx.de>,
	 Raymond Mao <raymondmaoca@gmail.com>,
	 Quentin Schulz <quentin.schulz@cherry.de>,
	 Raymond Mao <raymondmaoca@gmail.com>
Subject: [PATCH next v2 2/3] CI: use mirror for gnulib dependency of grub
Date: Thu, 27 Nov 2025 14:29:27 +0100	[thread overview]
Message-ID: <20251127-gnu-mirror-v2-2-c86fa2e8d464@cherry.de> (raw)
In-Reply-To: <20251127-gnu-mirror-v2-0-c86fa2e8d464@cherry.de>

From: Quentin Schulz <quentin.schulz@cherry.de>

grub bootstrap script downloads gnulib from a non-mirror URL and thus is
unreliable.

One can specify the URL to fetch from with GNULIB_URL environment
variable, so let's make this variable point at a mirror URL.

Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
 tools/docker/Dockerfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index 402901c2d82..440a3c39293 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -153,7 +153,7 @@ RUN git clone https://https.git.savannah.gnu.org/git/grub.git /tmp/grub && \
 	git checkout grub-2.12 && \
 	git config --global user.name "GitLab CI Runner" && \
 	git config --global user.email trini@konsulko.com && \
-	./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 \

-- 
2.52.0


  parent reply	other threads:[~2025-11-27 13:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-27 13:29 [PATCH next v2 0/3] CI: use mirrors for GNU tools Quentin Schulz
2025-11-27 13:29 ` [PATCH next v2 1/3] CI: use GNU mirror for grub (and switch to HTTPS) Quentin Schulz
2025-11-27 13:29 ` Quentin Schulz [this message]
2025-11-27 13:29 ` [PATCH next v2 3/3] CI: use coreboot mirror for GNU dependencies of coreboot Quentin Schulz
2025-12-01 16:03 ` [PATCH next v2 0/3] CI: use mirrors for GNU tools Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251127-gnu-mirror-v2-2-c86fa2e8d464@cherry.de \
    --to=foss+uboot@0leil.net \
    --cc=quentin.schulz@cherry.de \
    --cc=raymondmaoca@gmail.com \
    --cc=sjg@chromium.org \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=xypron.glpk@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox