summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscripts/wic3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/wic b/scripts/wic
index 99721dcc33..8e9c05c18c 100755
--- a/scripts/wic
+++ b/scripts/wic
@@ -171,8 +171,6 @@ def wic_create_subcommand(args, usage_str):
171 if options.build_check and not engine.verify_build_env(): 171 if options.build_check and not engine.verify_build_env():
172 raise WicError("Couldn't verify build environment, exiting") 172 raise WicError("Couldn't verify build environment, exiting")
173 173
174 bootimg_dir = ""
175
176 if options.debug: 174 if options.debug:
177 logger.setLevel(logging.DEBUG) 175 logger.setLevel(logging.DEBUG)
178 176
@@ -189,6 +187,7 @@ def wic_create_subcommand(args, usage_str):
189 187
190 rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", options.image_name) 188 rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", options.image_name)
191 kernel_dir = get_bitbake_var("DEPLOY_DIR_IMAGE", options.image_name) 189 kernel_dir = get_bitbake_var("DEPLOY_DIR_IMAGE", options.image_name)
190 bootimg_dir = get_bitbake_var("STAGING_DATADIR", options.image_name)
192 native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE", 191 native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE",
193 options.image_name) #, cache=False) 192 options.image_name) #, cache=False)
194 else: 193 else: