diff options
Diffstat (limited to 'scripts/lib/image/engine.py')
-rw-r--r-- | scripts/lib/image/engine.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index 2dd98b968c..6cf6169482 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py @@ -175,7 +175,7 @@ def list_canned_image_help(scripts_path, fullpath): def wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir, native_sysroot, hdddir, staging_data_dir, scripts_path, - image_output_dir, properties_file, properties=None): + image_output_dir, debug, properties_file, properties=None): """ Create image @@ -235,6 +235,9 @@ def wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir, direct_args.insert(0, staging_data_dir) direct_args.insert(0, "direct") + if debug: + msger.set_loglevel('debug') + cr = creator.Creator() cr.main(direct_args) |