[yocto] Revision file in images

Saul Wold sgw at linux.intel.com
Fri Oct 12 14:51:21 PDT 2012


On 10/12/2012 08:42 AM, Marc Ferland wrote:
> Hi,
>
> Is a revision file populated in the images produced by the build process?
> Something listing the revisions of the different layers used. Just like
> the "OE Build Configuration" summary.
>
That level of detail no.

> I'd like to easily identify what a target system currently runs.
>
You can identify it based on the /etc/issue file, which contains the 
information that you might have set in DISTRO_NAME and DISTRO_VERSION in 
your distro.

For example from poky.conf
DISTRO_NAME = "Poky 8.0 (Yocto Project 1.3 Reference Distro)"
DISTRO_VERSION = "1.3+snapshot-${DATE}"

oe-core alone does not se any default name, but version as follows:
DISTRO_VERSION ??= "oe-core.0"

These go into the issue file via the base_files recipe.

Sau!

> Regards,
>
> Marc
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>



More information about the yocto mailing list