summaryrefslogtreecommitdiffstats
path: root/scripts/lib/image/engine.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/image/engine.py')
-rw-r--r--scripts/lib/image/engine.py5
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):
175 175
176def wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir, 176def wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir,
177 native_sysroot, hdddir, staging_data_dir, scripts_path, 177 native_sysroot, hdddir, staging_data_dir, scripts_path,
178 image_output_dir, properties_file, properties=None): 178 image_output_dir, debug, properties_file, properties=None):
179 """ 179 """
180 Create image 180 Create image
181 181
@@ -235,6 +235,9 @@ def wic_create(args, wks_file, rootfs_dir, bootimg_dir, kernel_dir,
235 direct_args.insert(0, staging_data_dir) 235 direct_args.insert(0, staging_data_dir)
236 direct_args.insert(0, "direct") 236 direct_args.insert(0, "direct")
237 237
238 if debug:
239 msger.set_loglevel('debug')
240
238 cr = creator.Creator() 241 cr = creator.Creator()
239 242
240 cr.main(direct_args) 243 cr.main(direct_args)