[Buildroot] [git commit] suport/download: fix git wrapper with submodules on older git versions

Peter Korsgaard peter at korsgaard.com
Wed Jul 15 19:51:45 UTC 2020


>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:

 > commit: https://git.buildroot.net/buildroot/commit/?id=8fe9894f655fd79207c41673e1966cc4d4d101d1
 > branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

 > Older versions of git store the absolute path of the submodules'
 > repository as stored in the super-project, e.g.:

 >     $ cat some-submodule/.git
 >     gitdir: /path/to/super-project/.git/modules/some-submodule

 > Obviously, this is not very reproducible.

 > More recent versions of git, however, store relative paths, which
 > de-facto makes it reproducible.

 > Fix older versions by replacing the absolute paths with relative ones.

 > Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>

Committed to 2020.02.x and 2020.05.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list