<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Dec 10, 2016 at 1:57 PM, Khem Raj <span dir="ltr">&lt;<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sat, Dec 10, 2016 at 10:40 AM, Christopher Larson<br>
&lt;<a href="mailto:clarson@kergoth.com">clarson@kergoth.com</a>&gt; wrote:<br>
&gt;<br>
&gt; On Fri, Dec 9, 2016 at 10:46 AM, Ed Bartosh &lt;<a href="mailto:ed.bartosh@linux.intel.com">ed.bartosh@linux.intel.com</a>&gt;<br>
&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Enabled generation of block map(bmap) files for wic images<br>
&gt;&gt; built for edgerouter machine. This should simplify flashing<br>
&gt;&gt; images with bmaptool.<br>
&gt;&gt;<br>
&gt;&gt; [YOCTO #10621]<br>
&gt;&gt;<br>
&gt;&gt; Signed-off-by: Ed Bartosh &lt;<a href="mailto:ed.bartosh@linux.intel.com">ed.bartosh@linux.intel.com</a>&gt;<br>
&gt;<br>
&gt;<br>
&gt; I think this is more of a distro decision than machine, whether they want to<br>
&gt; support use of bmaptool for their users/customers. It’d be nice if it was<br>
&gt; easier to control compression from the distro, too. For example, if we want<br>
&gt; to distribute wic.bz2+wic.bmap in our installers, it’d be nice to be able to<br>
&gt; switch to that for all machines that use wic. I’m not sure how best to pull<br>
&gt; that off, however. Something to think about for the future.<br>
<br>
</span>I think thats a good point, however, distro should be able to define<br>
something like<br>
if machine is capable of supporting feature X then lets enable it. I<br>
dont think we<br>
should add machine knowledge into distros either.</blockquote></div><br>Agreed. We do that already with features variables, but there’s no equivalent for IMAGE_FSTYPES, of course. Presumably IMAGE_FSTYPES_append = “ ${@‘wic.bmap’ if ‘${USING_WIC}’ else ‘’}” or so would get part of the way there. Replacing wic with wic.bz2 or vice versa would be slightly more complex.<br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>