Bug 13056

Summary: wic: layer plugin path is inconsistent with other tools
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Paul Eggleton <bluelightning>
Component: Scripts and ToolsAssignee: Chee Yang <chee.yang.lee>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: Medium CC: chee.yang.lee, randy.macleod, ross.burton
Version: 5.99   
Target Milestone: 3.1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Paul Eggleton 2018-12-03 19:43:59 UTC
If you wish to add a wic plugin in your own layer, wic expects it to be placed in scripts/lib/wic/plugins/source (or scripts/lib/wic/plugins/image for image plugins). This is inconsistent with devtool, recipetool and oe-selftest that look for extensions under lib/ in additional layers.
Comment 1 Paul Eggleton 2019-06-20 10:41:56 UTC
Thinking about this it should look in both places to avoid breaking existing layers, however where we document the path we should be specifying the lib/ one.
Comment 2 Chee Yang 2020-04-03 01:27:22 UTC
this should align the path for wic
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b5a3625e5934f3eabebbc2253765194e4ada2fa1