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 <adham...@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

Reply via email to