[oe] [meta-oe][PATCH] rapidjson: add initial recipe

Anders Darander anders at chargestorm.se
Mon Dec 19 14:58:57 UTC 2016


* Andre McCurdy <armccurdy at gmail.com> [161219 15:46]:

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

> >> On Mon, Dec 19, 2016 at 6:08 AM, Andre McCurdy <armccurdy at gmail.com> wrote:
> >> > On Mon, Dec 19, 2016 at 5:11 AM, Martin Jansa <martin.jansa at 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



More information about the Openembedded-devel mailing list