All of lore.kernel.org
 help / color / mirror / Atom feed
* PROVIDES for Yocto Kernel Recipes
@ 2013-02-08  1:22 Rudolf Streif
  2013-02-08  1:39 ` Bruce Ashfield
  0 siblings, 1 reply; 4+ messages in thread
From: Rudolf Streif @ 2013-02-08  1:22 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 973 bytes --]

I apologize if that has been brought up before.

The linux-yocto kernel recipes include the git tags into PV by explicitly
setting:

PV = "${LINUX_VERSION}+git${SRCPV}"

This means that you cannot for example do

bitbake linux-yocto-3.2

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.

The percent notation only works for

PREFERRED_VERSION_linux-yocto = "3.2%"

but does not work for

bitbake linux-yocto-3.2%

That really only leaves you with setting PREFERRED_VERSION which is not
that convenient if you just want to build a different kernel version.

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

PV = "${LINUX_VERSION} ${LINUX_VERSION}+git${SRCPV}"

Well, kind of, you still would have to know the minor version number.

Cheers,
Rudi

[-- Attachment #2: Type: text/html, Size: 1536 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-08  1:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-08  1:22 PROVIDES for Yocto Kernel Recipes Rudolf Streif
2013-02-08  1:39 ` Bruce Ashfield
2013-02-08  1:52   ` Rudolf Streif
2013-02-08  1:58     ` Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.