[OE-core] [PATCH] doc: drop some incorrect instructions

Scott Rifenbark srifenbark at gmail.com
Wed Nov 14 19:35:47 UTC 2018


Ming,

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.

https://yoctoproject.org/docs/2.6/ref-manual/ref-manual.html#ref-classes-image_types

Thanks,
Scott

On Wed, Nov 14, 2018 at 11:06 AM <liu.ming50 at gmail.com> wrote:

> From: Ming Liu <liu.ming50 at gmail.com>
>
> image_types bbclass now is being inherited mandatorily in image.bbclass
> through the variable IMGCLASSES, and the users do not have to inherit
> it in their customized image type bbclass, or put it in IMAGE_CLASSES.
>
> Drop the incorrect descriptions, it's confusing the developers.
>
> Signed-off-by: Ming Liu <liu.ming50 at gmail.com>
> ---
>  documentation/ref-manual/ref-classes.xml | 9 ++-------
>  1 file changed, 2 insertions(+), 7 deletions(-)
>
> diff --git a/documentation/ref-manual/ref-classes.xml
> b/documentation/ref-manual/ref-classes.xml
> index 24d7a0a..876e242 100644
> --- a/documentation/ref-manual/ref-classes.xml
> +++ b/documentation/ref-manual/ref-classes.xml
> @@ -1275,15 +1275,10 @@
>      </para>
>
>      <para>
> -        By default, this class is enabled through the
> -        <link
> linkend='var-IMAGE_CLASSES'><filename>IMAGE_CLASSES</filename></link>
> -        variable in
> +        By default, this class is enabled mandatorily in
>          <link
> linkend='ref-classes-image'><filename>image.bbclass</filename></link>.
>          If you define your own image types using a custom BitBake class
> and
> -        then use <filename>IMAGE_CLASSES</filename> to enable it, the
> custom
> -        class must either inherit <filename>image_types</filename> or
> -        <filename>image_types</filename> must also appear in
> -        <filename>IMAGE_CLASSES</filename>.
> +        then use <filename>IMAGE_CLASSES</filename> to enable it.
>      </para>
>
>      <para>
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20181114/acf5a9fc/attachment.html>


More information about the Openembedded-core mailing list