]> code.ossystems Code Review - openembedded-core.git/commit
wic: flatten imager class hierarchy
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 3 Feb 2017 20:26:06 +0000 (22:26 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 5 Feb 2017 09:20:22 +0000 (09:20 +0000)
commit1e28d512341ce470c7afb256a01e597ab87170ca
tree06197ccceb8f7793d4ab4b906793b4d95d6c58aa
parent798edc3f9931bae4481e09287ac00002ad30654f
wic: flatten imager class hierarchy

wic code is hard to follow due to deep and twiggy class
inheritance tree.

Flatten imager tree:
 wic -> wic_create -> Creator -> DirectPlugin -> DirectImageCreator
to
 wic -> wic_create -> DirectPlugin
by
 removing Creator class and creator module
 merging DirectImageCreator into DirectPlugin

Changed APIs to use the same parameters names.

Passed parsed command line options as an object down the stack.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/wic/creator.py [deleted file]
scripts/lib/wic/engine.py
scripts/lib/wic/plugins/imager/direct.py
scripts/wic