[oe] How to prevent fetching?
Frans Meulenbroeks
fransmeulenbroeks at gmail.com
Wed Aug 31 19:20:55 UTC 2011
2011/8/31 Dave Beal <dbeal at cardinalpeak.com>
> 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.
>
> Thank you!
>
> Simplest way is to set up a premirror with all source packages you need;
then change the routing table of your build system allowing only routing to
your premirror (and maybe some other hosts you want to access during
development).
Personally I do this with a VM.
At a certain point you probably also want to pin your OE tree on a certain
git hash to avoid that suddenly you drag in new code (and new problems) late
in your development cycle.
When you have pinned a version you could still backport fixes and put them
in a local overlay.
Good luck!
Frans
More information about the Openembedded-devel
mailing list