[poky] git tarballs gone?
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Feb 10 07:33:55 PST 2011
On Thu, 2011-02-10 at 15:13 +0000, Richard Purdie wrote:
> On Thu, 2011-02-10 at 07:46 -0700, Gary Thomas wrote:
> > It seemed happy to use the stored GIT in downloads/git2/git.pokylinux.org.matchbox-terminal,
> > but did not generate a tarball during the process.
>
> That download directory already existed? It only updates the tarball if
> the repo changes:
>
> os.chdir(ud.clonedir)
> mirror_tarballs = data.getVar("BB_GENERATE_MIRROR_TARBALLS", d, True)
> if mirror_tarballs != "0" and ud.repochanged:
> logger.info("Creating tarball of git repository")
> runfetchcmd("tar -czf %s %s" % (repofile, os.path.join(".") ),
>
> (from git.py in the fetcher)
>
> I guess we could make it do this if the destination file doesn't exist
> too, I'll add a patch to do that.
http://git.pokylinux.org/cgit.cgi/poky/commit/?id=59a08262aba2d2b9b8b299a2818fb4cfe13b9909
It turned out to be a bit more ugly than I'd anticipated but a nice
improvement.
Cheers,
Richard
More information about the poky
mailing list