On Mon, Dec 19, 2016 at 8:42 AM, Andre McCurdy <[email protected]> wrote: > On Mon, Dec 19, 2016 at 6:58 AM, Anders Darander <[email protected]> > wrote: >> * Andre McCurdy <[email protected]> [161219 15:46]: >> >>> On Mon, Dec 19, 2016 at 6:26 AM, Anders Darander <[email protected]> >>> wrote: >>> > * Andre McCurdy <[email protected]> [161219 15:12]: >> >>> >> On Mon, Dec 19, 2016 at 6:08 AM, Andre McCurdy <[email protected]> >>> >> wrote: >>> >> > On Mon, Dec 19, 2016 at 5:11 AM, Martin Jansa <[email protected]> >>> >> > 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 every do_fetch? I didn't find one yet.
Never mind. SRCREV with nobranch does seem to be working now. >> Cheers, >> Anders >> >> -- >> Anders Darander, Senior System Architect >> ChargeStorm AB / eStorm AB >> -- >> _______________________________________________ >> Openembedded-devel mailing list >> [email protected] >> http://lists.openembedded.org/mailman/listinfo/openembedded-devel -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
