<div dir="ltr">Hi, Ed:<div><br></div><div>Thanks for testing it, I will investigate the cause and get back to you.</div><div><br></div><div>the best,</div><div>thank you</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-02 10:26 GMT+02:00 Ed Bartosh <span dir="ltr"><<a href="mailto:ed.bartosh@linux.intel.com" target="_blank">ed.bartosh@linux.intel.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Aug 01, 2017 at 07:13:48PM +0200, <a href="mailto:liu.ming50@gmail.com">liu.ming50@gmail.com</a> wrote:<br>
> From: Ming Liu <<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>><br>
><br>
> Drop do_image_wic depends varflags, move the dependencies to<br>
> WKS_FILE_DEPENDS_DEFAULT. I can not see the need to maintain them<br>
> in two different ways, besides that it's out of USING_WIC control.<br>
><br>
> Signed-off-by: Ming Liu <<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>><br>
> ---<br>
> meta/classes/image_types_wic.<wbr>bbclass | 3 +--<br>
> 1 file changed, 1 insertion(+), 2 deletions(-)<br>
><br>
> diff --git a/meta/classes/image_types_<wbr>wic.bbclass b/meta/classes/image_types_<wbr>wic.bbclass<br>
> index b825b47..7b0a1c7 100644<br>
> --- a/meta/classes/image_types_<wbr>wic.bbclass<br>
> +++ b/meta/classes/image_types_<wbr>wic.bbclass<br>
> @@ -39,9 +39,8 @@ IMAGE_CMD_wic[vardepsexclude] = "WKS_FULL_PATH WKS_FILES"<br>
> USING_WIC = "${@bb.utils.contains_any('<wbr>IMAGE_FSTYPES', 'wic ' + ' '.join('wic.%s' % c for c in '${CONVERSIONTYPES}'.split()), '1', '', d)}"<br>
> WKS_FILE_CHECKSUM = "${@'${WKS_FULL_PATH}:%s' % os.path.exists('${WKS_FULL_<wbr>PATH}') if '${USING_WIC}' else ''}"<br>
> do_image_wic[file-checksums] += "${WKS_FILE_CHECKSUM}"<br>
> -do_image_wic[depends] += "${@' '.join('%s-native:do_populate_<wbr>sysroot' % r for r in ('parted', 'gptfdisk', 'dosfstools', 'mtools'))}"<br>
><br>
> -WKS_FILE_DEPENDS_DEFAULT = "syslinux-native bmap-tools-native cdrtools-native btrfs-tools-native squashfs-tools-native e2fsprogs-native"<br>
> +WKS_FILE_DEPENDS_DEFAULT = "parted-native gptfdisk-native dosfstools-native mtools-native syslinux-native bmap-tools-native cdrtools-native btrfs-tools-native squashfs-tools-native e2fsprogs-native"<br>
> WKS_FILE_DEPENDS_BOOTLOADERS = ""<br>
> WKS_FILE_DEPENDS_BOOTLOADERS_<wbr>x86 = "syslinux grub-efi systemd-boot"<br>
> WKS_FILE_DEPENDS_BOOTLOADERS_<wbr>x86-64 = "syslinux grub-efi systemd-boot"<br>
<br>
</span>This breakes wic build on qemux86-64 target on my machine with the<br>
error: "ERROR: A native program parted required to build the image was not found (see details above)."<br>
<br>
--<br>
Regards,<br>
Ed<br>
</blockquote></div><br></div>