Poky Project Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: git tarballs gone?
Date: Thu, 10 Feb 2011 08:40:39 -0700	[thread overview]
Message-ID: <4D5406F7.4020204@mlbassoc.com> (raw)
In-Reply-To: <1297352035.20543.5148.camel@rex>

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
------------------------------------------------------------


      reply	other threads:[~2011-02-10 15:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10  1:13 git tarballs gone? Gary Thomas
2011-02-10  1:22 ` Saul Wold
2011-02-10  1:37 ` Richard Purdie
2011-02-10 14:46   ` Gary Thomas
2011-02-10 15:13     ` Richard Purdie
2011-02-10 15:33       ` Richard Purdie
2011-02-10 15:40         ` Gary Thomas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D5406F7.4020204@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=poky@lists.pokylinux.org \
    --cc=richard.purdie@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox