All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH] Allow remote sstate cache fetches when BB_NO_NETWORK set
@ 2013-06-28 15:05 Joe MacDonald
  2013-06-28 15:05 ` [bitbake][oe-core][RFC PATCH 1/2] fetch2: Add an extra check for sstate_mirrors Joe MacDonald
  2013-06-28 15:05 ` [bitbake][oe-core][RFC PATCH 2/2] sstate.bbclass: " Joe MacDonald
  0 siblings, 2 replies; 7+ messages in thread
From: Joe MacDonald @ 2013-06-28 15:05 UTC (permalink / raw)
  To: bitbake-devel

My objective here is to support a very specific scenario.  I have a well-fed
sstate cache on my internal network.  I want to use it for accelerating builds
across a variety of machines where NFS is not really an option.  I don't want
bitbake to ever attempt to fetch sources for packages, though, so I'm always
using BB_NO_NETWORK.

The proposal I have is adding a new local.conf variable that will allow cache
fetches only to be exempt from BB_NO_NETWORK restrictions.  If it is set and
BB_NO_NETWORK is not set, there's no change in behaviour.  If it is not set and
BB_NO_NETWORK is set, again, no change in today's behaviour.  If both are set,
however, then any of the regular fetch2 fetchers will get an "okay" from
check_network_access() if they're invoked by a sstate cache fetch attempt.  Any
other fetch attempt will still hit raise a NetworkAccess exception.

-- 
-Joe MacDonald.
:wq



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-06-28 19:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-28 15:05 [RFC PATCH] Allow remote sstate cache fetches when BB_NO_NETWORK set Joe MacDonald
2013-06-28 15:05 ` [bitbake][oe-core][RFC PATCH 1/2] fetch2: Add an extra check for sstate_mirrors Joe MacDonald
2013-06-28 16:56   ` Richard Purdie
2013-06-28 17:00     ` Mark Hatle
2013-06-28 17:04       ` Richard Purdie
2013-06-28 19:19         ` Joe MacDonald
2013-06-28 15:05 ` [bitbake][oe-core][RFC PATCH 2/2] sstate.bbclass: " Joe MacDonald

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.