[poky] git tarballs gone?

Gary Thomas gary at mlbassoc.com
Thu Feb 10 07:40:39 PST 2011


On 02/10/2011 08:33 AM, Richard Purdie wrote:
> 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.

That did the trick; same experiment generated a tarball.

Thanks for the quick response!

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------



More information about the poky mailing list