Bug 895 - Provide basic bitbake build information in the target image, /etc/yocto-release
Summary: Provide basic bitbake build information in the target image, /etc/yocto-release
Status: RESOLVED NOTABUG
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: All Multiple
: Medium enhancement
Target Milestone: 1.1
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-03-17 15:26 UTC by Darren Hart
Modified: 2011-07-23 21:33 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2011-03-17 15:26:22 UTC
At times we need to validate what exactly is running on a target image. This will become crucial for in field debugging as well. Something like /etc/yocto-release, or /etc/yocto-build would be an appropriate place. The file should include things like the release, or the git hash, the machine type and the image built.
Comment 1 Qing He 2011-04-26 02:20:14 UTC
Interesting idea, and what about /etc/issue.yocto or even /etc/issue?
Comment 2 Darren Hart 2011-04-27 12:17:43 UTC
I don't have a strong preference for where it is, so long as it is available.
Comment 3 Saul Wold 2011-07-23 21:33:15 UTC
It's there, /etc/issue and /etc/issue.net both list the DISTRO_NAME and DISTRO_VERSION.