[yocto] how to know Poky kernel version before running it

Vincent Prince vincent.prince.fr at gmail.com
Fri Dec 1 09:29:24 PST 2017


Something like following command will give you every variables for kernel
recipe:

bitbake -e virtual/kernel | egrep '^[A-Z][A-Z_]*'

You will find prefered version and source url variables.

2017-12-01 18:11 GMT+01:00 Steve Pavao <stevep at korgrd.com>:

> Is there a definitive way to know at/after build time what kernel version
> is being built via a particular bitbake of Poky?
>
> I don’t have the board on hand to boot the result of my work right now; it
> is a scout build for a board I’m getting soon.
>
> I’m trying to figure it out by browsing the console-latest.log and looking
> for the highest kernel version I can observe from the recipes used.  Is
> there a better way to find this out at build time?
>
> Knowing the kernel version would help me decide what version of a patch to
> apply to go along with it.
>
> Steve Pavao
> Korg R&D
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171201/45699ab3/attachment.html>


More information about the yocto mailing list