]> code.ossystems Code Review - openembedded-core.git/commitdiff
wic: use image recipe sysroot as default
authorEd Bartosh <ed.bartosh@linux.intel.com>
Tue, 21 Feb 2017 09:46:29 +0000 (11:46 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 4 Mar 2017 10:42:31 +0000 (10:42 +0000)
Switched from using wic-tools recipe sysroot to using
image sysroot in wic script. This way is more logical
and consistent with the way wic uses other artifacts.

[YOCTO #11017]

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
scripts/wic

index f32cb19b3471c46d6d3032a4e01e26c13546439e..99721dcc3319e1a60c7bb0e9960020b8152388d3 100755 (executable)
@@ -190,7 +190,7 @@ def wic_create_subcommand(args, usage_str):
         rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", options.image_name)
         kernel_dir = get_bitbake_var("DEPLOY_DIR_IMAGE", options.image_name)
         native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE",
-                                         "wic-tools", cache=False)
+                                         options.image_name) #, cache=False)
     else:
         if options.build_rootfs:
             raise WicError("Image name is not specified, exiting. "