<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"><<a href="mailto:raj.khem@gmail.com" target="_blank">raj.khem@gmail.com</a>></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>
<<a href="mailto:clarson@kergoth.com">clarson@kergoth.com</a>> wrote:<br>
><br>
> On Fri, Dec 9, 2016 at 10:46 AM, Ed Bartosh <<a href="mailto:ed.bartosh@linux.intel.com">ed.bartosh@linux.intel.com</a>><br>
> wrote:<br>
>><br>
>> Enabled generation of block map(bmap) files for wic images<br>
>> built for edgerouter machine. This should simplify flashing<br>
>> images with bmaptool.<br>
>><br>
>> [YOCTO #10621]<br>
>><br>
>> Signed-off-by: Ed Bartosh <<a href="mailto:ed.bartosh@linux.intel.com">ed.bartosh@linux.intel.com</a>><br>
><br>
><br>
> I think this is more of a distro decision than machine, whether they want to<br>
> support use of bmaptool for their users/customers. It’d be nice if it was<br>
> easier to control compression from the distro, too. For example, if we want<br>
> to distribute wic.bz2+wic.bmap in our installers, it’d be nice to be able to<br>
> switch to that for all machines that use wic. I’m not sure how best to pull<br>
> 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>