| Summary: | no version displayed in /etc/version | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Alexandru Georgescu <alexandru.c.georgescu> |
| Component: | core | Assignee: | Paul Eggleton <bluelightning> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | bluelightning, ionutx.chisanovici, meta.mr.watcher, meta.watcher, richard.purdie, yp.bsp.watcher, yp.watcher |
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M5 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | Regression (Used to work) |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Alexandru Georgescu
2013-07-05 08:51:56 UTC
Reproduced with qemux86 as well. This would appear to be a core issue. Just checked, this worked in dylan, so it's a regression in master. I suspect that it has something to do with the recent bitbake refactoring since bitbake is setting a value for BUILDNAME if none is set in the metadata. Interestingly, buildhistory includes ${BUILDNAME} in its commit messages and seems to be getting the value correctly, so I wonder if it's just an issue of the scoping of the datastore in which the value is being set.
Another data point, I added a bb.note in the anonymous python of rootfs_rpm to bring BUILDNAME and it is showing blank, but as you note it does work buildhistory, I am not sure how the scoping works. Quick Observation: This Looks like a problem with the bitbake-worker split. We need to ensure that BUILDNAME gets set in the worker contexts. In _start_worker() in runqueue.py we probably need to transfer that variable Fix merged to master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e63c5775732055a32b417c01fb68711f33ff4ac3 Note in case it is unclear, this was a regression in master; released versions are not affected. tested with NUC. |