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

Nicolas Dechesne nicolas.dechesne at linaro.org
Mon Apr 4 02:30:20 PDT 2016


On Sun, Apr 3, 2016 at 10:54 PM, Paul Eggleton
<paul.eggleton at linux.intel.com> wrote:
>> 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.)

Note that you can use conf/auto.conf and conf/site.conf as well, these
files are parsed at the same time as conf/local.conf, so if you really
cannot change local.conf, you can use the one of the other ones.



More information about the yocto mailing list