diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-21 11:46:29 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:18 +0000 |
commit | 35df4ad171a05b851977b74cfe6d8fb96a2a283e (patch) | |
tree | d689e9e71270c64e09b9cb03172525daefbc796e /scripts/wic | |
parent | 6d5dd6e560fa95c4237b788f25d4bd20f5927160 (diff) | |
download | poky-35df4ad171a05b851977b74cfe6d8fb96a2a283e.tar.gz |
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 <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/wic')
-rwxr-xr-x | scripts/wic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/wic b/scripts/wic index f32cb19b34..99721dcc33 100755 --- a/scripts/wic +++ b/scripts/wic | |||
@@ -190,7 +190,7 @@ def wic_create_subcommand(args, usage_str): | |||
190 | rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", options.image_name) | 190 | rootfs_dir = get_bitbake_var("IMAGE_ROOTFS", options.image_name) |
191 | kernel_dir = get_bitbake_var("DEPLOY_DIR_IMAGE", options.image_name) | 191 | kernel_dir = get_bitbake_var("DEPLOY_DIR_IMAGE", options.image_name) |
192 | native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE", | 192 | native_sysroot = get_bitbake_var("RECIPE_SYSROOT_NATIVE", |
193 | "wic-tools", cache=False) | 193 | options.image_name) #, cache=False) |
194 | else: | 194 | else: |
195 | if options.build_rootfs: | 195 | if options.build_rootfs: |
196 | raise WicError("Image name is not specified, exiting. " | 196 | raise WicError("Image name is not specified, exiting. " |