Bug 6027

Summary: add Build configuration info to BSP
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Alexandru Georgescu <alexandru.c.georgescu>
Component: coreAssignee: Alexandru Georgescu <alexandru.c.georgescu>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: Medium CC: bogdanx.a.voiculescu, dvhart, elizabeth.flanagan, meta.mr.watcher, meta.watcher, yp.bsp.watcher, yp.watcher
Version: 1.7   
Target Milestone: 2.1 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

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 ***