[yocto] Append to bblayers.conf and local.conf

Paul Eggleton paul.eggleton at linux.intel.com
Sun Apr 3 13:54:48 PDT 2016


Hi Rikard,

On Fri, 01 Apr 2016 12:59:08 Olsson Rikard wrote:
> Hello Yocto team,
> 
> We are receiving bblayer.conf and local.conf from external supplier which
> already have layers/configuration added. Now we want to add our own
> layers/configuration by appending to these files this to avoid manual merge
> work each time a delivery from external supplier is made.
> 
> Question:
> How do I append layers/configuration to bblayer.conf and local.conf?

The best answer I can give is these files aren't really meant to be 
distributed. If you have too much specific stuff in these files (particularly 
local.conf) then I would say it's possible your supplier has put things in the 
wrong place.

The way it ought to work is, you add the needed layers to your bblayers.conf, 
then go to your local.conf and set DISTRO and MACHINE and anything you need 
for *local* configuration (e.g. local paths) and that's pretty much it. If you 
have to include a whole bunch of extra lines in local.conf, those lines really 
should be elsewhere (e.g. custom distro config, or the machine .conf file if 
they are specific to the machine.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list