<div dir="ltr"><div class="gmail_extra">Jegan,</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 26, 2014 at 3:06 AM, Jegan Chandru <span dir="ltr"><<a href="mailto:pcjegan@gmail.com" target="_blank">pcjegan@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">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.</blockquote>


</div><br><br>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.</div>


<div class="gmail_extra">And I believe that PREFERRED_VERSION just have effects on local.conf, machine.conf and distro.conf, not on image recipes.</div><div class="gmail_extra"><br>Maybe using update-alternatives class can help me to achieve this:</div>

<div class="gmail_extra"><a href="http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/update-alternatives.bbclass">http://www.yoctoproject.org/docs/current/mega-manual/mega-manual.html#ref-classes-update-alternatives</a><br>

</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>
Regards,</div><div><br></div>--<br>*dS<br>Diego Sueiro<br><br>Administrador do Embarcados<br><a href="http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego" target="_blank">www.embarcados.com.br</a><br>


<br>/*long live rock 'n roll*/<br></div></div>
</div></div>