[OE-core] [PATCH 1/8] wic: change default output directory

Ed Bartosh ed.bartosh at linux.intel.com
Tue Jan 24 13:43:49 UTC 2017


Set default output directory to current dir.

[YOCTO #10783]

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
 scripts/wic | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/wic b/scripts/wic
index 8918cb4..54cbe96 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -88,7 +88,7 @@ def wic_create_subcommand(args, usage_str):
     """
     parser = optparse.OptionParser(usage=usage_str)
 
-    parser.add_option("-o", "--outdir", dest="outdir",
+    parser.add_option("-o", "--outdir", dest="outdir", default='.',
                       help="name of directory to create image in")
     parser.add_option("-e", "--image-name", dest="image_name",
                       help="name of the image to use the artifacts from "
-- 
2.1.4




More information about the Openembedded-core mailing list