Bug 7671 - Feature request: integrate task-level exports support
Summary: Feature request: integrate task-level exports support
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 2.4
Assignee: Christopher Larson
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-04-27 23:14 UTC by Christopher Larson
Modified: 2016-09-19 17:47 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Yes (doc changes required)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.