<div dir="ltr"><div dir="ltr"><div>Ming, <br></div><div><br></div><div>I could not simply apply this patch. I had to do some re-writing for clarity. Please look at this link to the updated section on the image_types class and let me know if this is technically correct.</div><div><br></div><div><a href="https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#ref-classes-image_types">https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#ref-classes-image_types</a></div><div><br></div><div>Thanks,</div><div>Scott<br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 14, 2018 at 11:06 AM <<a href="mailto:liu.ming50@gmail.com">liu.ming50@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Ming Liu <<a href="mailto:liu.ming50@gmail.com" target="_blank">liu.ming50@gmail.com</a>><br>
<br>
image_types bbclass now is being inherited mandatorily in image.bbclass<br>
through the variable IMGCLASSES, and the users do not have to inherit<br>
it in their customized image type bbclass, or put it in IMAGE_CLASSES.<br>
<br>
Drop the incorrect descriptions, it's confusing the developers.<br>
<br>
Signed-off-by: Ming Liu <<a href="mailto:liu.ming50@gmail.com" target="_blank">liu.ming50@gmail.com</a>><br>
---<br>
documentation/ref-manual/ref-classes.xml | 9 ++-------<br>
1 file changed, 2 insertions(+), 7 deletions(-)<br>
<br>
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml<br>
index 24d7a0a..876e242 100644<br>
--- a/documentation/ref-manual/ref-classes.xml<br>
+++ b/documentation/ref-manual/ref-classes.xml<br>
@@ -1275,15 +1275,10 @@<br>
</para><br>
<br>
<para><br>
- By default, this class is enabled through the<br>
- <link linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link><br>
- variable in<br>
+ By default, this class is enabled mandatorily in<br>
<link linkend='ref-classes-image'><filename>image.bbclass</filename></link>.<br>
If you define your own image types using a custom BitBake class and<br>
- then use <filename>IMAGE_CLASSES</filename> to enable it, the custom<br>
- class must either inherit <filename>image_types</filename> or<br>
- <filename>image_types</filename> must also appear in<br>
- <filename>IMAGE_CLASSES</filename>.<br>
+ then use <filename>IMAGE_CLASSES</filename> to enable it.<br>
</para><br>
<br>
<para><br>
-- <br>
2.7.4<br>
<br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</blockquote></div>