Our development is behind a firewall with no access to the internet. We created a local mirror of all the packages we require using a network accessed machine. The mirror is made available behind the firewall and our yocto accesses this mirror for the packages. BB_NO_NETWORK
is set to prevent any updates being pulled.
We also have a number of local git repositories with our own code that we would like to access. These are however blocked by BB_NO_NETWORK
. Is there a way to configure the layers such that the BB_NO_NETWORK
(or BB_FETCH_PREMIRRORONLY
) variable is relevant per layer or per recipe? Otherwise an alternative method would also be appreciated.
You should be able to use BB_ALLOWED_NETWORKS
Specifies a space-delimited list of hosts that the fetcher is allowed to use to obtain the required source code