[Buildroot] [PATCH 8/8] download: git: introduce cache feature

Peter Korsgaard peter at korsgaard.com
Mon Apr 2 21:47:05 UTC 2018


>>>>> "Maxime" == Maxime Hadjinlian <maxime.hadjinlian at gmail.com> writes:

 > Now we keep the git clone that we download and generates our tarball
 > from there.
 > The main goal here is that if you change the version of a package (say
 > Linux), instead of cloning all over again, you will simply 'git fetch'
 > from the repo the missing objects, then generates the tarball again.

 > This should speed the 'source' part of the build significantly.

 > The drawback is that the DL_DIR will grow much larger; but time is more
 > important than disk space nowadays.

 > Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian at gmail.com>
 > ---
 > v4 -> v5:
 >     - Fix comments's content

Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list