| Summary: | buildhistory should write git SHAs | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Ross Burton <ross.burton> |
| Component: | devtools / tool chain | Assignee: | Paul Eggleton <bluelightning> |
| Status: | VERIFIED FIXED | QA Contact: | Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu> |
| Severity: | enhancement | ||
| Priority: | Low | CC: | bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher |
| Version: | 1.9 | ||
| Target Milestone: | 1.9 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Ross Burton
2015-07-07 21:19:43 UTC
Unless I'm misunderstanding the request, it already does this in two places - metadata-revs at the root of the buildhistory repo (machine-readable, written out on every build), and build-id.txt under the directory for an image (only written when building an image, and the format is the same as bitbake's preamble output). You're not mistaken. Would it be convenient/possible/useful to put this into the commit log to? Implemented in master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=734411a9e633f5b1459216e4cc5175f267d8a668 Verified on master: cat buildhistory/metadata-revs meta = master:71b0568fa43285f0946fae93fb43cea5f3bbecec meta-yocto = master:71b0568fa43285f0946fae93fb43cea5f3bbecec meta-yocto-bsp = master:71b0568fa43285f0946fae93fb43cea5f3bbece |