grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] bootstrap: Reduce GNULIB Size on Newer GIT
@ 2025-08-25  1:38 Andrew Hamilton
  2025-08-25  1:38 ` [PATCH v2 1/1] bootstrap: Ensure shallow GNULIB clone Works " Andrew Hamilton
  0 siblings, 1 reply; 4+ messages in thread
From: Andrew Hamilton @ 2025-08-25  1:38 UTC (permalink / raw)
  To: grub-devel; +Cc: daniel.kiper, ghetman, Andrew Hamilton

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-25 15:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-25  1:38 [PATCH v2 0/1] bootstrap: Reduce GNULIB Size on Newer GIT Andrew Hamilton
2025-08-25  1:38 ` [PATCH v2 1/1] bootstrap: Ensure shallow GNULIB clone Works " Andrew Hamilton
2025-08-25 15:09   ` Daniel Kiper via Grub-devel
2025-08-25 15:15     ` Collin Funk

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).