How do I determine the version of Yocto Project that I'm using?
Dec 15, 2019
asked by anonymous
Question / Issue:
When working with a Yocto BSP, how can I tell which version I'm using?
Responses:
Date: Dec. 15, 2019
Author: Mind Chasers
Comment:
There are multiple ways. Here are a couple we use:
You can look in poky.conf:
$ find . -name poky.conf
./meta-poky/conf/distro/poky.conf
$ grep "DISTRO_VERSION =" ./meta-poky/conf/distro/poky.conf
DISTRO_VERSION = "3.0"
$ grep "DISTRO_CODENAME =" ./meta-poky/conf/distro/poky.conf
DISTRO_CODENAME = "zeus"
Or if you have initialized your bitbake build environment:
$ bitbake -e | grep ^DISTRO_VERSION=
DISTRO_VERSION="3.0"
$ bitbake -e | grep ^DISTRO_CODENAME=
DISTRO_CODENAME="zeus"