[OE-core] design question: should layer.conf contain "PREFERRED_VERSION" settings?

Bruce Ashfield bruce.ashfield at gmail.com
Wed Mar 22 11:57:51 UTC 2017


On Wed, Mar 22, 2017 at 7:19 AM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 22 March 2017 at 11:14, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>
>> so, just to be clear, the simple act of adding that layer to a
>> project's bblayers.conf file will cause those preferred versions to
>> be selected, correct?
>>
>>   is that considered good design? in a perfect world, i've always
>> believed that you should be able to load up your bblayers.conf file
>> with as many extraneous layers as you want and (well, with some
>> exceptions), if you choose not to take advantage of the contents of a
>> layer, it shouldn't hurt you.
>>
>
> Yes.
>
> No.
>

So where are they supposed to be specified ? Surely not a separate distro
.conf ? and most
certainly not in local.conf ... I've always been unsure of where the right
place to specify
versions like that.

Bruce


>
> It's a violation of the layer design rules and should result in the new
> layer compat tools failing the layer.
>
> Ross
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170322/2dc5aee0/attachment-0002.html>


More information about the Openembedded-core mailing list