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

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Sun Jun 14 21:43:54 UTC 2015


On June 12, 2015 3:04:17 PM GMT+02:00, Christopher Larson <clarson at kergoth.com> wrote:
>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.

I hope the v3 with BB_ALLOWED_NETWORKS was applied instead but cannot currently check.

TIA,





More information about the bitbake-devel mailing list