[Openembedded-users] Question about choice of version for a package

Khem Raj raj.khem at gmail.com
Thu Jun 16 06:21:31 UTC 2011


On 06/15/2011 10:32 PM, Joel A Fernandes wrote:
> I hope this question doesn't come across as silly, but I'm having a hard time figuring out how does bitbake/oe get the default version for a certain package if the PREFERRED_VERSION has not been set by configuration files?
>
> For example, when I build u-boot for a beagleboard machine, it chooses the "git" recipe. Where is this decided?
>


if its pinned using PREFERRED_VERSION in a conf file thats the first 
choice e.g. PREFERRED_VERSION_u-boot = "1.2"

if not then it goes and looks for DEFAULT_PREFRENCES in recipes which 
all provide u-boot and choses the one with highest value

If DEFAULT_PREFERENCE is same for given recipes then it picks the one 
which has newer version e.g. 1.2.3 will be picked over 1.2.2

HTH

-Khem





More information about the Openembedded-users mailing list