Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find out Yocto version

Tags:

version

yocto

How to find the current version of Yocto kernel that I am using to build the components. There is a version for poky. But i want to know the Yocto kernel version.

like image 442
user1729564 Avatar asked Aug 24 '15 10:08

user1729564


1 Answers

How to find out Yocto version?

Check out this file it gives you full details about Yocto version

vim $POKY-DIR/meta-poky/conf/distro/poky.conf

You will get info like:

DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "2.7.2"
DISTRO_CODENAME = "warrior"
SDK_VENDOR = "-pokysdk"
SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${DATE}', 'snapshot')}"
.....
.....

Now you will know the version you are actually using.

To find the kernel version you are using:

bitbake -e virtual/kernel | grep "^PV"

like image 84
Jitender Avatar answered Sep 27 '22 20:09

Jitender