| Summary: | Stamps not correctly deleted when restoring from sstate on version change | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Paul Eggleton <bluelightning> |
| Component: | core | Assignee: | Robert Yang <liezhi.yang> |
| Status: | VERIFIED FIXED | QA Contact: | Andra Necula <andrax.g.necula> |
| Severity: | normal | ||
| Priority: | Medium+ | CC: | andrax.g.necula, liezhi.yang, meta.mr.watcher, meta.watcher, richard.purdie, sgw |
| Version: | 1.6 | ||
| Target Milestone: | 1.6 M3 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Paul Eggleton
2013-10-30 14:41:12 UTC
The problem is that the sstate_clean() in sstate.bbclass can't clean the old version's stamp, for example, if we have built version 1.0, then build 2.0, it can only remove the 2.0's stamp, we can use the STAMPCLEAN which contains wildcard rather than STAMP in sstate_clean() to remove 1.0's stamp, but it will also remove version .sigdata (should not), we have to do more work on it. Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=a6c6659b3fa9de204ef3d194407c9ede71995141 Verified on master a44006262cf3b810ec78b4cccd8076102a7a0f3e Host Ubuntu 14.04, x86_64 |