[oe] How to prevent fetching?

Dave Beal dbeal at cardinalpeak.com
Wed Aug 31 21:18:41 UTC 2011


Thank you, Joshua.  I don't know what you mean by "if your metadata uses
fetch2".  Is fetch2 some python function?  How would I know if I'm using
it?

- Dave


-----Original Message-----
From: Joshua Lock <josh at linux.intel.com>
Reply-to: openembedded-devel at lists.openembedded.org
To: openembedded-devel at lists.openembedded.org
Subject: Re: [oe] How to prevent fetching?
Date: Wed, 31 Aug 2011 12:35:00 -0700


On Wed, 2011-08-31 at 11:25 -0600, Dave Beal wrote:
> My company is using OE to develop the embedded Linux infrastructure of a
> medical device.  The US government agency that approves such devices
> (FDA) requires that its source code be strictly controlled.  We would
> like to configure our OE installation to prevent the fetching of new
> source code except when we explicitly allow it.
> 
> Is there a way to accomplish this that doesn't require modifying all the
> individual .bb files?  Is there a global configuration option that would
> prevent fetching?  I've looked through the OE and Bitbake User Manuals,
> but haven't found an answer.

If you're using relatively recent BitBake and your metadata uses fetch2
(I don't know if oe.dev does, but oe-core is using fetch2) you can set
BB_NO_NETWORK="1" in a conf file somewhere.

Regards,
Joshua


Dave Beal 
Cardinal Peak
(303) 665-3962 x124 | Email | vCard
| Web | Company Blog | LinkedIn 

 

 





More information about the Openembedded-devel mailing list