diff options
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/wic | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/wic b/scripts/wic index 33355eed07..17e82315e2 100755 --- a/scripts/wic +++ b/scripts/wic | |||
| @@ -203,10 +203,6 @@ def wic_create_subcommand(args, usage_str): | |||
| 203 | "kickstart (.wks) filename)\n" % args[0]) | 203 | "kickstart (.wks) filename)\n" % args[0]) |
| 204 | sys.exit(1) | 204 | sys.exit(1) |
| 205 | 205 | ||
| 206 | image_output_dir = "" | ||
| 207 | if options.outdir: | ||
| 208 | image_output_dir = options.outdir | ||
| 209 | |||
| 210 | if not options.image_name: | 206 | if not options.image_name: |
| 211 | rootfs_dir = '' | 207 | rootfs_dir = '' |
| 212 | if 'ROOTFS_DIR' in options.rootfs_dir: | 208 | if 'ROOTFS_DIR' in options.rootfs_dir: |
| @@ -254,7 +250,7 @@ def wic_create_subcommand(args, usage_str): | |||
| 254 | 250 | ||
| 255 | print("Creating image(s)...\n") | 251 | print("Creating image(s)...\n") |
| 256 | engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, | 252 | engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, |
| 257 | native_sysroot, scripts_path, image_output_dir, | 253 | native_sysroot, scripts_path, options.outdir, |
| 258 | options.compressor, options.bmap, options.debug) | 254 | options.compressor, options.bmap, options.debug) |
| 259 | 255 | ||
| 260 | 256 | ||
