[OE-core] BB_NO_NETWORK = "1" causes fetch to fail for unnecessary u-boot parsing

Martin Jansa martin.jansa at gmail.com
Wed Jan 30 21:03:06 UTC 2013


On Wed, Jan 30, 2013 at 03:37:45PM -0500, Robert P. J. Day wrote:
> On Wed, 30 Jan 2013, Chris Larson wrote:
> 
> > It's worth bringing up the SRCREV_POLICY variable, which lets you
> > control how bitbake handles caching of srcrevs. By default, it
> > figures it needs to get the mapping every time (value == clear, or
> > unset), which can make sense in certain cases. But you can tell it
> > to go ahead and use the values it has cached from a previous run, as
> > well (value == cache). This can be useful if you know you're moving
> > into an offline state and want to prepare for it above and beyond
> > the -c fetchall.
> 
>   i'm not in the least embarrassed to admit i didn't even know that
> variable existed.  and, yes, that pretty much solves the problem.
> 
>   i'm still creeped out by that comment of using the tag name to deal
> with rebasing a public commit, though.  :-P

There is also rebaseable parameter for git:// fetcher to generate
versioned snapshot from repository and reuse that in future build
(like fetcher1 did, see https://bugzilla.yoctoproject.org/show_bug.cgi?id=1511).

That should be used in that SRC_URI.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130130/90e092d9/attachment-0002.sig>


More information about the Openembedded-core mailing list