From: Michael Opdenacker <michael.opdenacker@bootlin.com>
To: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
Cc: yocto@pengutronix.de,
Yocto Project Documentation <docs@lists.yoctoproject.org>
Subject: Re: [docs] [PATCH] ref-manual: classes: update description of class 'image_types'
Date: Wed, 13 Mar 2024 10:09:58 +0100 [thread overview]
Message-ID: <df0b53b8-49f2-4c83-b875-90290fe2ddda@bootlin.com> (raw)
In-Reply-To: <20240312203807.1646308-1-u.oelmann@pengutronix.de>
Hi Ulrich
On 3/12/24 at 21:38, Ulrich Ölmann wrote:
> Cite usage of IMGCLASSES variable in class 'image' as found in OE-Core's
> commit [1].
>
> [1] 451363438d38 ("classes/recipes: Switch to use inherit_defer")
>
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
> documentation/ref-manual/classes.rst | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst
> index 5aaf8ecc0c24..412dc5ca2fe5 100644
> --- a/documentation/ref-manual/classes.rst
> +++ b/documentation/ref-manual/classes.rst
> @@ -1184,13 +1184,17 @@ enables the :ref:`ref-classes-image_types` class. The :ref:`ref-classes-image` c
> ``IMGCLASSES`` variable as follows::
>
> IMGCLASSES = "rootfs_${IMAGE_PKGTYPE} image_types ${IMAGE_CLASSES}"
> - IMGCLASSES += "${@['populate_sdk_base', 'populate_sdk_ext']['linux' in d.getVar("SDK_OS")]}"
> + # Only Linux SDKs support populate_sdk_ext, fall back to populate_sdk_base
> + # in the non-Linux SDK_OS case, such as mingw32
> + inherit populate_sdk_base
> + IMGCLASSES += "${@['', 'populate_sdk_ext']['linux' in d.getVar("SDK_OS")]}"
> IMGCLASSES += "${@bb.utils.contains_any('IMAGE_FSTYPES', 'live iso hddimg', 'image-live', '', d)}"
> IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}"
> IMGCLASSES += "image_types_wic"
> IMGCLASSES += "rootfs-postcommands"
> IMGCLASSES += "image-postinst-intercepts"
> - inherit ${IMGCLASSES}
> + IMGCLASSES += "overlayfs-etc"
> + inherit_defer ${IMGCLASSES}
>
> The :ref:`ref-classes-image_types` class also handles conversion and compression of images.
Many thanks for this update!
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Merged into master-next.
Do you think we should add the IMGCLASSES variable to the variable index
too?
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2024-03-13 9:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 20:38 [PATCH] ref-manual: classes: update description of class 'image_types' Ulrich Ölmann
2024-03-13 9:09 ` Michael Opdenacker [this message]
2024-03-13 10:24 ` [docs] " Ulrich Ölmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=df0b53b8-49f2-4c83-b875-90290fe2ddda@bootlin.com \
--to=michael.opdenacker@bootlin.com \
--cc=docs@lists.yoctoproject.org \
--cc=u.oelmann@pengutronix.de \
--cc=yocto@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.