PREFERRED_VERSION_pn-: which version is selected?


Mauro Ziliani
 

Hi all.

I'm working with Krogoth on imx6


I have the same recipe with different versions

recipe1_0.9.bb

recipe1_1.0.bb


In the image recipe I put


image-recipe.bb

IMAGE_INSTALL_append := " \

    recipe1 \

"

PREFERRED_VERSION_pn-recipe1 := "0.9"


If I do

 bitbake -s

I get

recipe1    :1.0-r0


If I do

bitbake image-recipe


in image-recipe.manifest I look

recipe1  1.0-r0


Why is not selected the preferred version?

How can I choose the recipe's version I'd like?


Best regards,

   MZ

Join yocto@lists.yoctoproject.org to automatically receive all group messages.