[oe] [PATCH] introduction of virtual/libusb0

Christopher Larson clarson at mvista.com
Thu Jun 25 17:33:11 UTC 2009


On Jun 25, 2009, at 10:12 AM, Stanislav Brabec wrote:

> Stanislav Brabec wrote:
>> Chris Larson wrote:
>>
>>> DEFAULT_PREFERENCE is just default behavior when no  
>>> PREFERRED_PROVIDER
>>> is set by the distro.
>
> It seems that it is not true. First in order it selects ordered  
> package
> name list for the requirement (using only PREFERRED_PROVIDER),  
> second in
> order it decides about best version for each package name (using
> DEFAULT_PREFERENCE and PREFERRED_VERSION variables). When no explicit
> dependence or conflict is found, best version for the package first in
> order will be selected.

Aye, good catch.  It seems that it always prefers the recipe whose PN  
is the same as the provider even when there are DEFAULT_PREFERENCE's  
in either direction in the recipes that provide it.  This seems like a  
bug to me.
-- 
Chris Larson
Software Engineer
MontaVista Software, Inc.
Email: clarson AT mvista DOT com
Email: clarson AT kergoth DOT com





More information about the Openembedded-devel mailing list