diff options
author | Ulrich Ölmann <u.oelmann@pengutronix.de> | 2024-03-12 21:38:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-19 15:22:27 +0000 |
commit | 08081135175e26efb868653d7c9cfd6089576326 (patch) | |
tree | a53b850197cc91f705a6572cc5804a48a2605d64 /documentation/ref-manual/classes.rst | |
parent | 1e4de6edc6fd644d375ad8c402af08fda4c26a65 (diff) | |
download | poky-08081135175e26efb868653d7c9cfd6089576326.tar.gz |
ref-manual: classes: update description of class 'image_types'
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")
(From yocto-docs rev: 674f376ece98466d3498459d5b5428a8bfbd5112)
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/classes.rst')
-rw-r--r-- | documentation/ref-manual/classes.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/documentation/ref-manual/classes.rst b/documentation/ref-manual/classes.rst index 5aaf8ecc0c..412dc5ca2f 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 | |||
1184 | ``IMGCLASSES`` variable as follows:: | 1184 | ``IMGCLASSES`` variable as follows:: |
1185 | 1185 | ||
1186 | IMGCLASSES = "rootfs_${IMAGE_PKGTYPE} image_types ${IMAGE_CLASSES}" | 1186 | IMGCLASSES = "rootfs_${IMAGE_PKGTYPE} image_types ${IMAGE_CLASSES}" |
1187 | IMGCLASSES += "${@['populate_sdk_base', 'populate_sdk_ext']['linux' in d.getVar("SDK_OS")]}" | 1187 | # Only Linux SDKs support populate_sdk_ext, fall back to populate_sdk_base |
1188 | # in the non-Linux SDK_OS case, such as mingw32 | ||
1189 | inherit populate_sdk_base | ||
1190 | IMGCLASSES += "${@['', 'populate_sdk_ext']['linux' in d.getVar("SDK_OS")]}" | ||
1188 | IMGCLASSES += "${@bb.utils.contains_any('IMAGE_FSTYPES', 'live iso hddimg', 'image-live', '', d)}" | 1191 | IMGCLASSES += "${@bb.utils.contains_any('IMAGE_FSTYPES', 'live iso hddimg', 'image-live', '', d)}" |
1189 | IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}" | 1192 | IMGCLASSES += "${@bb.utils.contains('IMAGE_FSTYPES', 'container', 'image-container', '', d)}" |
1190 | IMGCLASSES += "image_types_wic" | 1193 | IMGCLASSES += "image_types_wic" |
1191 | IMGCLASSES += "rootfs-postcommands" | 1194 | IMGCLASSES += "rootfs-postcommands" |
1192 | IMGCLASSES += "image-postinst-intercepts" | 1195 | IMGCLASSES += "image-postinst-intercepts" |
1193 | inherit ${IMGCLASSES} | 1196 | IMGCLASSES += "overlayfs-etc" |
1197 | inherit_defer ${IMGCLASSES} | ||
1194 | 1198 | ||
1195 | The :ref:`ref-classes-image_types` class also handles conversion and compression of images. | 1199 | The :ref:`ref-classes-image_types` class also handles conversion and compression of images. |
1196 | 1200 | ||