From: Ed Bartosh Date: Tue, 21 Feb 2017 09:46:29 +0000 (+0200) Subject: wic: use image recipe sysroot as default X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=35df4ad171a05b851977b74cfe6d8fb96a2a283e;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git wic: use image recipe sysroot as default 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] (From OE-Core rev: fc94feda4f4785bc020413943c80050adea13dc0) Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- diff --git a/scripts/wic b/scripts/wic index f32cb19b347..99721dcc331 100755 --- a/scripts/wic +++ b/scripts/wic @@ -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. "