| Summary: | buildhistory.bbclass should track runtime package name changes | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Martin Jansa <Martin.Jansa> |
| Component: | core | Assignee: | Paul Eggleton <bluelightning> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | Low | CC: | alexandrux.palalau, bluelightning, jessica.zhang, meta.mr.watcher, meta.watcher |
| Version: | unspecified | ||
| Target Milestone: | 1.3 M4 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Martin Jansa
2012-07-18 09:45:04 UTC
Also runtime version (PKGV) should be tracked..
e.g. systemd is using gitpkgv class for consistent git versions across multiple builders (without need to synchronize cache/bb_persist_data.sqlite3)
inherit gitpkgv
PKGV = "v${GITPKGVTAG}"
PV = "git"
And when SRCREV was upgraded to newer version (with newer GITPKGVTAG) together with PR reset it was incorrectly reporting:
ERROR: Package version for package systemd went backwards which would break package feeds from (0:git-r32 to 0:git-r5)
but from package manager POV it was normal upgrade..
Implementation merged in Poky revision 06ad59cca92f58d4eefa42b532a778f3b83c66a1. Verified on danny and master branches |