Bug 7671

Summary: Feature request: integrate task-level exports support
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Christopher Larson <kergoth>
Component: coreAssignee: Christopher Larson <kergoth>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium CC: meta.mr.watcher, meta.watcher, richard.purdie
Version: unspecified   
Target Milestone: 2.4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Christopher Larson 2015-04-27 23:14:28 UTC
Task-level variable exports would help us reduce global exports over time, which would make signatures, and therefore sstate, slightly less brittle. See https://gist.github.com/kergoth/8410245 for a functional prototype.
Comment 1 Richard Purdie 2015-04-30 15:11:20 UTC
I like the idea in principle, its probably better added into bitbake itself though to avoid accessing things like __BBTASKS. I did start to add some better bitbake API for task addition/deletion FWIW too, I had intended to extend it further but never had the time/need.
Comment 2 Christopher Larson 2015-05-01 02:59:19 UTC
Agreed, adding it into bitbake itself would be better. I'll throw together a prototype if I manage to find the time (right..).
Comment 3 Christopher Larson 2016-09-19 17:47:11 UTC
This was implemented quite a while ago.