<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">&lt;<a href="mailto:ed.bartosh@linux.intel.com" target="_blank">ed.bartosh@linux.intel.com</a>&gt;</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>
&gt; From: Ming Liu &lt;<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>&gt;<br>
&gt;<br>
&gt; Drop do_image_wic depends varflags, move the dependencies to<br>
&gt; WKS_FILE_DEPENDS_DEFAULT. I can not see the need to maintain them<br>
&gt; in two different ways, besides that it&#39;s out of USING_WIC control.<br>
&gt;<br>
&gt; Signed-off-by: Ming Liu &lt;<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>&gt;<br>
&gt; ---<br>
&gt;  meta/classes/image_types_wic.<wbr>bbclass | 3 +--<br>
&gt;  1 file changed, 1 insertion(+), 2 deletions(-)<br>
&gt;<br>
&gt; diff --git a/meta/classes/image_types_<wbr>wic.bbclass b/meta/classes/image_types_<wbr>wic.bbclass<br>
&gt; index b825b47..7b0a1c7 100644<br>
&gt; --- a/meta/classes/image_types_<wbr>wic.bbclass<br>
&gt; +++ b/meta/classes/image_types_<wbr>wic.bbclass<br>
&gt; @@ -39,9 +39,8 @@ IMAGE_CMD_wic[vardepsexclude] = &quot;WKS_FULL_PATH WKS_FILES&quot;<br>
&gt;  USING_WIC = &quot;${@bb.utils.contains_any(&#39;<wbr>IMAGE_FSTYPES&#39;, &#39;wic &#39; + &#39; &#39;.join(&#39;wic.%s&#39; % c for c in &#39;${CONVERSIONTYPES}&#39;.split()), &#39;1&#39;, &#39;&#39;, d)}&quot;<br>
&gt;  WKS_FILE_CHECKSUM = &quot;${@&#39;${WKS_FULL_PATH}:%s&#39; % os.path.exists(&#39;${WKS_FULL_<wbr>PATH}&#39;) if &#39;${USING_WIC}&#39; else &#39;&#39;}&quot;<br>
&gt;  do_image_wic[file-checksums] += &quot;${WKS_FILE_CHECKSUM}&quot;<br>
&gt; -do_image_wic[depends] += &quot;${@&#39; &#39;.join(&#39;%s-native:do_populate_<wbr>sysroot&#39; % r for r in (&#39;parted&#39;, &#39;gptfdisk&#39;, &#39;dosfstools&#39;, &#39;mtools&#39;))}&quot;<br>
&gt;<br>
&gt; -WKS_FILE_DEPENDS_DEFAULT = &quot;syslinux-native bmap-tools-native cdrtools-native btrfs-tools-native squashfs-tools-native e2fsprogs-native&quot;<br>
&gt; +WKS_FILE_DEPENDS_DEFAULT = &quot;parted-native gptfdisk-native dosfstools-native mtools-native syslinux-native bmap-tools-native cdrtools-native btrfs-tools-native squashfs-tools-native e2fsprogs-native&quot;<br>
&gt;  WKS_FILE_DEPENDS_BOOTLOADERS = &quot;&quot;<br>
&gt;  WKS_FILE_DEPENDS_BOOTLOADERS_<wbr>x86 = &quot;syslinux grub-efi systemd-boot&quot;<br>
&gt;  WKS_FILE_DEPENDS_BOOTLOADERS_<wbr>x86-64 = &quot;syslinux grub-efi systemd-boot&quot;<br>
<br>
</span>This breakes wic build on qemux86-64 target on my machine with the<br>
error: &quot;ERROR: A native program parted required to build the image was not found (see details above).&quot;<br>
<br>
--<br>
Regards,<br>
Ed<br>
</blockquote></div><br></div>