From 71ce8d09e0f5912544936b0364990250c1381fed Mon Sep 17 00:00:00 2001 From: Ed Bartosh Date: Fri, 3 Feb 2017 22:26:06 +0200 Subject: 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- scripts/wic | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts/wic') diff --git a/scripts/wic b/scripts/wic index 17e82315e2..8a959a01af 100755 --- a/scripts/wic +++ b/scripts/wic @@ -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): -- cgit v1.2.3-54-g00ecf