[OE-core] BB_SRCREV_POLICY doesn't seem to work

Harvey Chapman hchapman-oecore at 3gfp.com
Thu Jan 31 18:17:16 UTC 2013


On Jan 31, 2013, at 9:45 AM, "Robert P. J. Day" <rpjday at crashcourse.ca> wrote:

> and i'm trying to build a core-image-minimal.  with regular
> (git-allowed) net access, the build works fine.  but i haven't yet
> found any combination of BB_SRCREV_POLICY or BB_FETCH_PREMIRRORONLY or
> anything else that let's me "fetchall", then disconnect from the net
> to do the build.

This really seems like a bug in bitbake/lib/bb/fetch2/git.py to me. It should honor BB_NO_NETWORK by trying to see if it has the tag locally before it runs the ls-remote to see if the tag has changed. I was going to suggest this earlier in the thread, but due to my relatively new experience with layered OE and the newer bitbake, I refrained. However, I was just inside that code updating the mercurial.py fetcher to actually work for file:// urls. At some point in the next few weeks, I'll update it further to try and be on par with git.py and to at least match the functionality since mercurial.py does things differently. It makes it difficult to understand them both if you only know how to use one.



More information about the Openembedded-core mailing list