Bug 6027 - add Build configuration info to BSP
Summary: add Build configuration info to BSP
Status: RESOLVED DUPLICATE of bug 8502
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.1 M3
Assignee: Alexandru Georgescu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-03-24 09:48 UTC by Alexandru Georgescu
Modified: 2016-02-08 13:46 UTC (History)
7 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Georgescu 2014-03-24 09:48:54 UTC
Having a file inside the BSPs rootfs displaying "Build configuration" info like poky, meta-* commits, BB_VERSION, local.conf changes and also others would help QA on making sure correct images were built. The file can be /etc/version or similar one.

An example would be a misconfiguration in the public AB that would deliver builds with different commit id's to the QA.
Comment 1 Saul Wold 2014-05-09 00:50:00 UTC
I don't think we don't want to pollute all our builds with this log file, yes 
it's good infomration, maybe it could be a summary txt file in the 
images/<MACHINE> dir instead?  This could be handled with an additional bbclass 
file that is inherited specifically for the autobuilder and installs a task 
before the final do_build task that writes the data out.  Also could you better 
define the data you are loong for besides the "Build Configuration" from when 
bitbake starts? We might have to refactor the code in base.bbclass to make it 
re-usable out side the eventhandler it's currently.
Comment 2 Beth Flanagan 2014-05-09 05:17:35 UTC
We actually have a buildstep that does this already for meta-intel bsps. We can very easily implement this on the ab, so at least the configs are available in the release.
Comment 3 Alexandru Georgescu 2014-05-22 14:44:16 UTC
I'm gonna move this into work in progress because this depends also on HW automation work that is being done so I will have to wait a little more to fill in the details for it.
Comment 4 Alexandru Georgescu 2016-02-08 13:46:04 UTC
Deprecated by bug 8502

*** This bug has been marked as a duplicate of bug 8502 ***