Jegan,

On Mon, May 26, 2014 at 3:06 AM, Jegan Chandru <pcje...@gmail.com> wrote:
> There is variable called PREFERRED_VERSION_pkgname ?= "version" where you
> can set the desired version of any packages available.(if thats what you
> are looking for) Try adding it in your image recipe or conf file. Also once
> added, you can check by executing 'bitbake -s' and see preferred version
> tab.



Actually I don't think that it's going to work for python3, since
python(2.7) and python3 are separate recipes that does not provide the same
package (python). They provide two different packages: python and python3,
respectively.
And I believe that PREFERRED_VERSION just have effects on local.conf,
machine.conf and distro.conf, not on image recipes.

Maybe using update-alternatives class can help me to achieve this:
http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#ref-classes-update-alternatives<http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/update-alternatives.bbclass>



Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to