* Andre McCurdy <armccu...@gmail.com> [161219 15:46]:

> On Mon, Dec 19, 2016 at 6:26 AM, Anders Darander <and...@chargestorm.se> 
> wrote:
> > * Andre McCurdy <armccu...@gmail.com> [161219 15:12]:

> >> On Mon, Dec 19, 2016 at 6:08 AM, Andre McCurdy <armccu...@gmail.com> wrote:
> >> > On Mon, Dec 19, 2016 at 5:11 AM, Martin Jansa <martin.ja...@gmail.com> 
> >> > wrote:
> >> >> Please don't use github archives.

> >> What's the recommended way to fetch from a git tag which doesn't sit
> >> on a branch?

> > Use nobranch=1, see eg
> > meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb.

> That seems to query the server on every do_fetch, so doesn't work so
> well with BB_NO_NETWORK.

It shouldn't do that. The problem with android-tools_5.1.1.r37.bb is
that they're not checking out a SHA1, but a tag...

ANDROID_TAG = "android-5.1.1_r37"

That's not working without querying the server, due to how bitbake's git
fetcher is implemented.

Cheers,
Anders

-- 
Anders Darander, Senior System Architect
ChargeStorm AB / eStorm AB
-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to