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

Andre McCurdy armccurdy at gmail.com
Mon Dec 19 16:42:16 UTC 2016


On Mon, Dec 19, 2016 at 6:58 AM, Anders Darander <anders at chargestorm.se> wrote:
> * 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.

Right. So is there a combination of tag, nobranch and SRCREV which can
fetch from a tag which doesn't sit on a branch without querying the
server on ever do_fetch? I didn't find one yet.

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



More information about the Openembedded-devel mailing list