From: Andrew Hamilton <adhamilt@gmail.com>
To: grub-devel@gnu.org
Cc: daniel.kiper@oracle.com, ghetman@gmail.com,
Andrew Hamilton <adhamilt@gmail.com>
Subject: [PATCH v2 0/1] bootstrap: Reduce GNULIB Size on Newer GIT
Date: Sun, 24 Aug 2025 20:38:40 -0500 [thread overview]
Message-ID: <20250825013841.60952-1-adhamilt@gmail.com> (raw)
Update the bootstrap script to be compatible with newer versions
of GIT that changed the git clone -h output from containing:
"--depth"
to:
"--[no-]depth"
This bootstrap script is pulled the latest GNULIB version
from GNULIB GIT, commit 9a1a6385
This change avoids a full clone on GNULIB, saving
something like 50 MB.
The script was tested by running the old and new versions
in clean clones of GRUB source, with one folder updated
to use the new bootstrap script then the resulting
directories were compared, the only differences observed
were .git/ files and .autom4te.cache/ files.
Fixes: https://savannah.gnu.org/bugs/?66357
Signed-off-by: Andrew Hamilton <adhamilt@gmail.com>
Andrew Hamilton (1):
bootstrap: Ensure shallow GNULIB clone Works on Newer GIT
bootstrap | 1980 +++++++++++++++++++++++++++++++++--------------------
1 file changed, 1246 insertions(+), 734 deletions(-)
--
2.39.5
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
next reply other threads:[~2025-08-25 1:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-25 1:38 Andrew Hamilton [this message]
2025-08-25 1:38 ` [PATCH v2 1/1] bootstrap: Ensure shallow GNULIB clone Works on Newer GIT Andrew Hamilton
2025-08-25 15:09 ` Daniel Kiper via Grub-devel
2025-08-25 15:15 ` Collin Funk
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=20250825013841.60952-1-adhamilt@gmail.com \
--to=adhamilt@gmail.com \
--cc=daniel.kiper@oracle.com \
--cc=ghetman@gmail.com \
--cc=grub-devel@gnu.org \
/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;
as well as URLs for NNTP newsgroup(s).