| Summary: | bitbake: runqueue passes non-finalized metadata to setscene callbacks | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] BitBake | Reporter: | Christopher Larson <kergoth> |
| Component: | bitbake | Assignee: | Christopher Larson <kergoth> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Undecided | CC: | poky.bs.watcher, poky.watcher |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Christopher Larson
2015-04-02 23:16:36 UTC
Aside: why do some areas of bb.runqueue reference self.cooker.data directly, while others use self.cfgData? Test case:
$ cat >conf/auto.conf <<END
SSTATE_DIR = "${TOPDIR}/sstate-cache.nooverride"
SSTATE_DIR_forcevariable = "${TOPDIR}/sstate-cache.override"
END
$ rm -rf tmp sstate-cache.override sstate-cache.nooverride
$ bitbake --no-setscene -c populate_sysroot quilt-native
$ rm -rf tmp
$ bitbake -c populate_sysroot quilt-native # this builds from scratch, when it shouldn't, as sstate was written to override, but not to the checked path, nooverride
Initial testing indicates https://gist.github.com/kergoth/e9a46893fc4e9f1afaa7 resolves this, doing further testing before upstream submission. Patch emailed to the bitbake-devel list. Richard merged this, so resolving. |