[oe] [PATCH v2] gitpkgv.bbclass: cache GITPKGV result

Otavio Salvador otavio at ossystems.com.br
Fri Nov 16 18:36:37 UTC 2012


On Fri, Nov 16, 2012 at 4:11 PM, Enrico Scholz <
enrico.scholz at sigma-chemnitz.de> wrote:

> gitpkgv runs the 'git rev-list | wc -l' several times when processing a
> package using GITPKGV.  This takes ages for packages like the linux
> kernel which has a) a large repository and b) lots of subpackages.
>
> This patch caches the result of 'git rev-list' and uses it on the next
> run.
>
> Signed-off-by: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
>

I did not test the patch but from reading it seems good.

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br



More information about the Openembedded-devel mailing list