<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 6, 2017 at 7:40 AM,  <span dir="ltr">&lt;<a href="mailto:liu.ming50@gmail.com" target="_blank">liu.ming50@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">From: Ming Liu &lt;<a href="mailto:peter.x.liu@external.atlascopco.com">peter.x.liu@external.<wbr>atlascopco.com</a>&gt;<br>
<br>
The code logic in image-mklibs.bbclass and image-prelink.bbclass is all<br>
about optimizing the rootfs image, so it makes more sense to put them<br>
into IMAGE_CLASSES rather than USER_CLASSES.<br>
<br>
What&#39;s more, this fixes a potential issue by moving out image-mklibs<br>
from INHERIT, considering that, a following dependency is missing in<br>
image-mklibs.bblcass:<br>
...<br>
do_rootfs[depends] += &quot;virtual/${MLPREFIX}${TARGET_<wbr>PREFIX}binutils:do_populate_<wbr>sysroot&quot;<br></blockquote><div><br></div><div>This removes the example usage of IMAGE_CLASSES to alter the default image types inclusion in local.conf.sample.extended, but doesn’t replace it with anything, and the commit message doesn’t mention it. Either find a way to fix that example (i.e. use += or something) or at least mention that you’re removing it, particularly since adding image types is currently the most common reason to alter that variable.</div></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Christopher Larson<br>kergoth at gmail dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Senior Software Engineer, Mentor Graphics</div></div></div></div>
</div></div>