[bitbake-devel] Allow access to specific git server while BB_FETCH_PREMIRRORONLY ="1"

Christopher Larson clarson at kergoth.com
Fri Jun 12 13:04:17 UTC 2015


On Fri, Jun 12, 2015 at 7:47 AM, Bach, Pascal <pascal.bach at siemens.com>
wrote:

> I was wondering if there is a way to allow access to specific urls even if
> BB_NO_NETWORK or BB_FETCH_PREMIRRORONLY is set.
>
> The use case I have at hand it that we want to fetch all 3rd party sources
> from a HTTP premirror we have internally. Except for some packages that
> are hosted on a git server where we would like bitbake to always fetch from
> there (no tarball on the pre mirror).
>
> I tried:
> PREMIRROR_prepend = "git at local/foo.git git at local/foo.git \n"
>
>
> But this doesn't seem to work.
>
> Is there way to achieve this with the current PREMIRROR variable? Or is
> this functionality currently missing?
>

See the recently added BB_TRUSTED_NETWORK variable.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20150612/dcf2d3a4/attachment-0002.html>


More information about the bitbake-devel mailing list