Bug 13412

Summary: pkgdata should be handled in a similar way to RSS
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Richard Purdie <richard.purdie>
Component: coreAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 2.7   
Target Milestone: 2.8 M3   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Richard Purdie 2019-06-19 16:46:35 UTC
pkgdata is currently shared which leads to two issues:

a) do_package/do_packagedata can't run well in parallel due to the shared lock
b) files can be accessed outside of the dependency chain

An RSS approach to pkgdata would be better as it would remove the need to locking and mean recipes could only see things they depend upon.