[bitbake-devel] [PATCH] fetch2: Add BB_TRUSTED_NETWORK support

Christopher Larson clarson at kergoth.com
Wed Apr 15 19:37:38 UTC 2015


On Tue, Mar 31, 2015 at 11:39 AM, Liam R. Howlett <
Liam.Howlett at windriver.com> wrote:

> This patch adds support for a new local.conf variable called
> BB_TRUSTED_NETWORK.  BB_TRUSTED_NETWORK holds a list of hostnames that the
> user
> trusts as a source for downloading content.  If network access is enabled
> and
> the user has configured trusted hosts, then any hosts that are not in the
> list
> will cause an error to occur at fetch.  Any mirrors and pre-mirrors that
> are
> not in the list will result in warnings that these locations will not be
> used.
>
> The BB_NO_NETWORK variable still stops all network access.
>
> Please see the comments in the patch for more details and example usage.
>

Hmm, looks like this might be useful with an internal mirror coupled with
PREMIRRORS, so fetches from the internal host are allowed, but anything
missing from there would be immediately caught?
-- 
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/20150415/e1ad7f5b/attachment-0002.html>


More information about the bitbake-devel mailing list