mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 13:29:49 +00:00
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. (From OE-Core rev: 1e28d512341ce470c7afb256a01e597ab87170ca) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3e052dd58c
commit
71ce8d09e0
+1
-2
@@ -250,8 +250,7 @@ def wic_create_subcommand(args, usage_str):
|
||||
|
||||
print("Creating image(s)...\n")
|
||||
engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir,
|
||||
native_sysroot, scripts_path, options.outdir,
|
||||
options.compressor, options.bmap, options.debug)
|
||||
native_sysroot, scripts_path, options)
|
||||
|
||||
|
||||
def wic_list_subcommand(args, usage_str):
|
||||
|
||||
Reference in New Issue
Block a user