<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 8:22 PM, Rudolf Streif <span dir="ltr"><<a href="mailto:rudolf.streif@linux.com" target="_blank">rudolf.streif@linux.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I apologize if that has been brought up before.<div><br></div><div>The linux-yocto kernel recipes include the git tags into PV by explicitly setting:</div>
<div><br></div><div>PV = "${LINUX_VERSION}+git${SRCPV}"<br>
</div><div><br></div><div>This means that you cannot for example do</div><div><br></div><div>bitbake linux-yocto-3.2</div><div><br></div><div>anymore because PROVIDES does not contain linux-yocto-3.2 but only the rather cumbersome string linux-yocto-3.2+git${SRCPV}, with ${SRCPV} expanded of course.</div>
<div><br></div><div>The percent notation only works for</div><div><br></div><div>PREFERRED_VERSION_linux-yocto = "3.2%"</div><div><br></div><div>but does not work for</div><div>
<br></div><div>bitbake linux-yocto-3.2%</div><div><br></div><div>That really only leaves you with setting PREFERRED_VERSION which is not that convenient if you just want to build a different kernel version.</div>
<div><br></div><div>I am not sure how others feel about that and maybe I am missing something but it would be rather simple to add that back by setting</div><div><br></div><div><div>PV = "${LINUX_VERSION} ${LINUX_VERSION}+git${SRCPV}"</div>
</div></div></blockquote><div><br></div><div style>You mean with a space in the version string ? I know that I don't want directories floating around</div><div style>with spaces, since they cause no end of troubles. But maybe it's just the font in gmail playing</div>
<div style>tricks with my eyes.</div><div style><br></div><div style>Perhaps Richard has a suggestion, but in 3+ years, this is the first time that this particular issue</div><div style>has come up. Most everyone is setting the PREFERRED_VERSION in their bsps, or local.conf </div>
<div style>and not using that particular mechanism of switching between kernels .. myself included, and I</div><div style>probably build more versions of linux-yocto than anyone you'll find :)</div><div style><br></div>
<div style>Don't get me wrong, I'm not dead set against changing it, but we do need both the meta and</div><div style>machine git hashes in the version to uniquely identify the tree (and my no spaces comment!).</div>
<div style>Maybe someone knows of a better way for command line switching of the version ?</div><div style><br></div><div style>Cheers,</div><div style><br></div><div style>Bruce</div><div style><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div> </div></div></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>
</div><div><br></div><div>Well, kind of, you still would have to know the minor version number.</div><div><br></div><div>Cheers,</div><div>Rudi</div><div><br></div></div></div>
<br>_______________________________________________<br>
yocto mailing list<br>
<a href="mailto:yocto@yoctoproject.org">yocto@yoctoproject.org</a><br>
<a href="https://lists.yoctoproject.org/listinfo/yocto" target="_blank">https://lists.yoctoproject.org/listinfo/yocto</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"
</div></div>