From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [64.234.241.98]) by mx1.pokylinux.org (Postfix) with ESMTP id 137E24C800B5 for ; Thu, 10 Feb 2011 09:40:41 -0600 (CST) Received: by mail.chez-thomas.org (Postfix, from userid 999) id CF0A61660323; Thu, 10 Feb 2011 08:40:40 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.1 Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id 4FE13166031B; Thu, 10 Feb 2011 08:40:39 -0700 (MST) Message-ID: <4D5406F7.4020204@mlbassoc.com> Date: Thu, 10 Feb 2011 08:40:39 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 MIME-Version: 1.0 To: Richard Purdie References: <4D533BCA.9000902@mlbassoc.com> <1297301826.20543.1722.camel@rex> <4D53FA34.4000105@mlbassoc.com> <1297350780.20543.5060.camel@rex> <1297352035.20543.5148.camel@rex> In-Reply-To: <1297352035.20543.5148.camel@rex> Cc: Poky Subject: Re: git tarballs gone? X-BeenThere: poky@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Poky build system developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 15:40:41 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 ------------------------------------------------------------