[linux-yocto] Custom wic imager plugin

Ed Bartosh ed.bartosh at linux.intel.com
Tue Oct 31 06:32:07 PDT 2017


On Sun, Oct 29, 2017 at 10:03:46PM -0400, Paul Knopf wrote:
> I am able to create and use custom source plugins for wic, all good.
> 
> However, I can't figure out how to use a custom imager plugin. The code has
> support for it, but it is hard-coded to use "direct" as the plugin. There
> is no way to configure it.
> 
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/engine.py?h=pyro#n187
> 
>     pname = 'direct'
>     plugin_class = PluginMgr.get_plugins('imager').get(pname)
>     if not plugin_class:
>         raise WicError('Unknown plugin: %s' % pname)
> 
> Is this an oversight? Would you guys accept a patch?

Looks like it is. Sure, please send a patch. I'll be happy to review it.

--
Regards,
Ed


More information about the linux-yocto mailing list