On Fri, Nov 16, 2012 at 2:19 PM, Enrico Scholz < [email protected]> 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' into the sources cache > directory and uses it on the next run. Because collisions of the sha1 > hash are very unlikely, the git revision is used directly as the key. > > [this is a slightly fixed version of classic OE's > 8c61580bc303911cf77a16eefb661414fee637f4] > > Signed-off-by: Enrico Scholz <[email protected]> > I'd prefer to have the hashes cache in same DL_DIR so we don't have another directory there. It is a file so I see no need for another dir. What do you think? -- Otavio Salvador O.S. Systems E-mail: [email protected] http://www.ossystems.com.br Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
