[yocto] DEFAULT_PREFERENCE not working as expected

Chris Tapp opensource at keylevel.com
Fri Oct 17 14:53:47 PDT 2014


On 17 Oct 2014, at 22:37, Martin Jansa <martin.jansa at gmail.com> wrote:

> That's by (IMHO wrong) design:
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=2964

Thanks - I was wondering if layers had something to do with it.

> Instead of setting P_V 2.40 only for that single project which needs that newer libsoup, you need to set P_V to 2.38 for every other project which is using your layer.

I can work with that - the layer is being used to up-rev various recipes for bug fixes (e.g. bash) and to add later versions of things like gstreamer. It would be nice if the default was "keep it as is" with DP set to -1, but I think I'll need to create a distro to get that behaviour.

From the link it looks as if layer priority may also be important, so I'll have a play with that when the current build finishes...

> On Fri, Oct 17, 2014 at 10:57 PM, Chris Tapp <opensource at keylevel.com> wrote:
> I've got a layer that includes a recipe for libsoup at version 2.40.3 which sets DEFAULT_PREFERENCE = "-1".
> 
> However, this version gets used when I build rather than the 2.38.? version in poky/meta (under danny). Why is this?
> 
> --
> 
> Chris Tapp
> opensource at keylevel.com
> www.keylevel.com
> 
> ----
> You can tell you're getting older when your car insurance gets real cheap!
> 
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
> 

--

Chris Tapp
opensource at keylevel.com
www.keylevel.com

----
You can tell you're getting older when your car insurance gets real cheap!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20141017/aa11d885/attachment.html>


More information about the yocto mailing list