diff options
Diffstat (limited to 'scripts/lib/image/engine.py')
| -rw-r--r-- | scripts/lib/image/engine.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/scripts/lib/image/engine.py b/scripts/lib/image/engine.py index d5c34b4611..47950f8d15 100644 --- a/scripts/lib/image/engine.py +++ b/scripts/lib/image/engine.py | |||
| @@ -216,23 +216,13 @@ def wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, | |||
| 216 | print "BUILDDIR not found, exiting. (Did you forget to source oe-init-build-env?)" | 216 | print "BUILDDIR not found, exiting. (Did you forget to source oe-init-build-env?)" |
| 217 | sys.exit(1) | 217 | sys.exit(1) |
| 218 | 218 | ||
| 219 | direct_args = list() | ||
| 220 | direct_args.insert(0, compressor or "") | ||
| 221 | direct_args.insert(0, oe_builddir) | ||
| 222 | direct_args.insert(0, image_output_dir) | ||
| 223 | direct_args.insert(0, wks_file) | ||
| 224 | direct_args.insert(0, rootfs_dir) | ||
| 225 | direct_args.insert(0, bootimg_dir) | ||
| 226 | direct_args.insert(0, kernel_dir) | ||
| 227 | direct_args.insert(0, native_sysroot) | ||
| 228 | direct_args.insert(0, "direct") | ||
| 229 | |||
| 230 | if debug: | 219 | if debug: |
| 231 | msger.set_loglevel('debug') | 220 | msger.set_loglevel('debug') |
| 232 | 221 | ||
| 233 | cr = creator.Creator() | 222 | cr = creator.Creator() |
| 234 | 223 | ||
| 235 | cr.main(direct_args) | 224 | cr.main(["direct", native_sysroot, kernel_dir, bootimg_dir, rootfs_dir, |
| 225 | wks_file, image_output_dir, oe_builddir, compressor or ""]) | ||
| 236 | 226 | ||
| 237 | print "\nThe image(s) were created using OE kickstart file:\n %s" % wks_file | 227 | print "\nThe image(s) were created using OE kickstart file:\n %s" % wks_file |
| 238 | 228 | ||
