diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-03 22:26:06 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-05 09:22:17 +0000 |
commit | 71ce8d09e0f5912544936b0364990250c1381fed (patch) | |
tree | a26734dc16a71142d4a0130817e8e288ea9bfce1 /scripts/wic | |
parent | 3e052dd58c30a6e3e3af45c8369a693628a23eea (diff) | |
download | poky-71ce8d09e0f5912544936b0364990250c1381fed.tar.gz |
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>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 3 |
1 files changed, 1 insertions, 2 deletions
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): | |||
250 | 250 | ||
251 | print("Creating image(s)...\n") | 251 | print("Creating image(s)...\n") |
252 | engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, | 252 | engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, |
253 | native_sysroot, scripts_path, options.outdir, | 253 | native_sysroot, scripts_path, options) |
254 | options.compressor, options.bmap, options.debug) | ||
255 | 254 | ||
256 | 255 | ||
257 | def wic_list_subcommand(args, usage_str): | 256 | def wic_list_subcommand(args, usage_str): |