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

Bruce Ashfield bruce.ashfield at gmail.com
Wed Mar 22 12:14:49 UTC 2017


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

>
> On 22 March 2017 at 11:57, Bruce Ashfield <bruce.ashfield at gmail.com>
> wrote:
>
>> 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.
>>
>
> If it were my layer I'd have an .inc file that set all the preferred
> versions where the defaults don't work, that the user would have to include
> in their distro.
>

Aha. Kind of like the old versions file that used to float around.

Seems reasonable (if a bit less automatic than someone like me who wants ..
to use the layer like a black box)

Luckily I have push access to that layer, so I can make a change like that
;)

One final question, is it considered a design option to set those versions
triggered off an IMAGE or DISTRO
feature ? i.e. in anonymous python .. or is that already too late in the
parsing/resolution process ?

Bruce




>
> Ross
>



-- 
"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/65eaa6d7/attachment-0002.html>


More information about the Openembedded-core mailing list