summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/wic6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/wic b/scripts/wic
index 5aa2393cf9..5818e2da2e 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -52,7 +52,7 @@ if bitbake_exe:
52else: 52else:
53 bitbake_main = None 53 bitbake_main = None
54 54
55from wic.utils.oe.misc import get_bitbake_var 55from wic.utils.oe.misc import get_bitbake_var, BB_VARS
56from wic.utils.errors import WicError 56from wic.utils.errors import WicError
57from image import engine 57from image import engine
58from image import help as hlp 58from image import help as hlp
@@ -141,7 +141,9 @@ def wic_create_subcommand(args, usage_str):
141 print " " + ", ".join(missed) 141 print " " + ", ".join(missed)
142 sys.exit(1) 142 sys.exit(1)
143 143
144 if not options.image_name: 144 if options.image_name:
145 BB_VARS.default_image = options.image_name
146 else:
145 options.build_check = False 147 options.build_check = False
146 148
147 if options.build_check: 149 if options.build_check: