All of lore.kernel.org
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Marc Ferland <ferlandm@sonatest.com>
Cc: yocto@yoctoproject.org
Subject: Re: Revision file in images
Date: Fri, 12 Oct 2012 14:51:21 -0700	[thread overview]
Message-ID: <507890D9.6010400@linux.intel.com> (raw)
In-Reply-To: <87hapzvgqn.fsf@sonatest.com>

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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>


  reply	other threads:[~2012-10-12 21:51 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-12 15:42 Revision file in images Marc Ferland
2012-10-12 21:51 ` Saul Wold [this message]
2012-10-15  6:01 ` Anders Darander
2012-10-15 18:55   ` Marc Ferland
2012-10-15 19:28     ` Paul Eggleton
2012-10-16  5:50     ` Anders Darander

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=507890D9.6010400@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=ferlandm@sonatest.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.