From: Ed Bartosh <ed.bartosh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/3] wic: get rid of image_output_dir variable
Date: Thu, 2 Feb 2017 15:32:59 +0200 [thread overview]
Message-ID: <c4cafae51559e41d596ef50da48014e54ee38b72.1486041986.git.ed.bartosh@linux.intel.com> (raw)
In-Reply-To: <cover.1486041986.git.ed.bartosh@linux.intel.com>
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>
---
scripts/wic | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/scripts/wic b/scripts/wic
index 33355ee..17e8231 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)
--
2.1.4
prev parent reply other threads:[~2017-02-02 13:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-02 13:32 [PATCH 0/3] wic: fix creation of working directory Ed Bartosh
2017-02-02 13:32 ` [PATCH 1/3] wic: engine: create output dir Ed Bartosh
2017-02-02 13:32 ` [PATCH 2/3] wic: direct: fix creation of work directory Ed Bartosh
2017-02-02 13:32 ` Ed Bartosh [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c4cafae51559e41d596ef50da48014e54ee38b72.1486041986.git.ed.bartosh@linux.intel.com \
--to=ed.bartosh@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox