]> code.ossystems Code Review - openembedded-core.git/commit
wic: add support to look in all layers and get plugins
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>
Thu, 15 May 2014 01:37:28 +0000 (22:37 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 May 2014 08:08:11 +0000 (09:08 +0100)
commitbb6f5d7de1c7ce2680874a74949903db0f5bb91a
tree0eaf4d709a118af48de775aed2dfa5868fe0013d
parent1f3e312211f277a1befd707a59a0c0a9bf6cbcbc
wic: add support to look in all layers and get plugins

Plugins are looked in 'scripts/lib/mic/plugins/[type]/' directory on all
BBLAYERS variable returned by bitbake environment. If found, it will
be load at runtime.

The user could create your own plugin and keep it inside its layers. For
now the path must be <layer-dir>/scripts/lib/mic/plugins/[type]/. Where
'type' could be 'imager' or 'source'.

Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
scripts/lib/mic/plugin.py