On Fri, Nov 27, 2015 at 01:34:27PM +1300, Paul Eggleton wrote: > On Wednesday 25 November 2015 10:30:28 Patrick Ohly wrote: > > The initial implementation of YOCTO #8138 > > ("buildhistory-extra.bbclass: store more information about a build") > > had some issues ("kconfig" file not preserved) but more importantly, > > additional changes are needed to support also gathering information > > about native recipes. > > > > I am proposing to include only the "buildhistory.bbclass: support > > extending the content of the build history" patch into OE-core. > > > > The original buildhistory-extra.bbclass and the modifications made to > > it are included here merely to provide the context for that change and > > to publish the modifications. > > For others' reference, buildhistory-extra.bbclass was previously attached to > https://bugzilla.yoctoproject.org/show_bug.cgi?id=8138 - I didn't and > wouldn't > propose introducing it into OE-Core in its current form because it's kind of > turning buildhistory into something it wasn't designed for, though I don't > disagree that it's useful. Happy to hear opinions from others on this though.
I agree it's useful. I wonder if we can abstract some of these functions to be able to run some of them without the actual build - we want to generate BOM (Bill of materials) before building the image and e.g. for verification builds we generate them twice (for base metadata, then with verification changes applied) and generate diff. I've implemented this as separate task which traverse the dependency tree from the image we're going to build and writes all interesting metadata in JSON. Regards, > One aspect that will probably change in the future is how it picks up the > kernel configuration - for > https://bugzilla.yoctoproject.org/show_bug.cgi?id=5574 (which I hope to get > to > for 2.1, but no promises) we will need to write the kernel configuration to > the > sysroot so that we have somewhere we can look for it; if that's the case > there'll be no need to copy it specially in buildhistory-extra.bbclass. > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core