diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-02 15:32:59 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-02 17:37:37 +0000 |
commit | c6013dcb158a84d48cc2677f1509681cf9e0a3cb (patch) | |
tree | 049560fd2004d448a0baca9d67c09c0c4a662fc0 | |
parent | e6579b4e007ce89000c46c09917fbd3c72f18a73 (diff) | |
download | openembedded-core-c6013dcb158a84d48cc2677f1509681cf9e0a3cb.tar.gz openembedded-core-c6013dcb158a84d48cc2677f1509681cf9e0a3cb.tar.bz2 openembedded-core-c6013dcb158a84d48cc2677f1509681cf9e0a3cb.zip |
wic: get rid of image_output_dir variable
Used options.outdir instead of image_output_dir.
There is no sense to use extra variable for this.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-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): "kickstart (.wks) filename)\n" % args[0]) sys.exit(1) - image_output_dir = "" - if options.outdir: - image_output_dir = options.outdir - if not options.image_name: rootfs_dir = '' if 'ROOTFS_DIR' in options.rootfs_dir: @@ -254,7 +250,7 @@ def wic_create_subcommand(args, usage_str): print("Creating image(s)...\n") engine.wic_create(wks_file, rootfs_dir, bootimg_dir, kernel_dir, - native_sysroot, scripts_path, image_output_dir, + native_sysroot, scripts_path, options.outdir, options.compressor, options.bmap, options.debug) |