diff options
| author | Antonin Godard <antonin.godard@bootlin.com> | 2025-10-27 13:43:41 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-11-03 07:17:02 -0800 |
| commit | 121ce25859a519df3fce09196850a19e5049a8de (patch) | |
| tree | 57c314608da6770ca1c91d62d020acae16e015f4 /documentation | |
| parent | 2cf19dbd79eda54d46380b0c3e294dc9ac28338a (diff) | |
| download | poky-121ce25859a519df3fce09196850a19e5049a8de.tar.gz | |
ref-manual/variables.rst: document the REQUIRED_IMAGE_FEATURES variable
Added by commit 96a9702a24a7 ("distro_features_check: expand with
IMAGE_FEATURES") in OE-Core.
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
(From yocto-docs rev: 7c387b11c9844809a0f8debb5b21f5c0a0220d97)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
(cherry picked from commit 860ddbd491ee9db291868bd939392538a2c64a4b)
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'documentation')
| -rw-r--r-- | documentation/ref-manual/variables.rst | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index 3503ca038e..261d11dd76 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -7463,6 +7463,23 @@ system and gives an overview of their function and contents. | |||
| 7463 | the recipe will be skipped, and if the build system attempts to build | 7463 | the recipe will be skipped, and if the build system attempts to build |
| 7464 | the recipe then an error will be triggered. | 7464 | the recipe then an error will be triggered. |
| 7465 | 7465 | ||
| 7466 | :term:`REQUIRED_IMAGE_FEATURES` | ||
| 7467 | When inheriting the :ref:`ref-classes-features_check` class, this variable | ||
| 7468 | identifies image features that must exist in the current | ||
| 7469 | configuration in order for the :term:`OpenEmbedded Build System` to build | ||
| 7470 | the recipe. In other words, if the :term:`REQUIRED_IMAGE_FEATURES` variable | ||
| 7471 | lists a feature that does not appear in :term:`IMAGE_FEATURES` within the | ||
| 7472 | current configuration, then the recipe will be skipped, and if the build | ||
| 7473 | system attempts to build the recipe then an error will be triggered. | ||
| 7474 | |||
| 7475 | Compared to other ``REQUIRED_*_FEATURES`` variables, the | ||
| 7476 | :term:`REQUIRED_IMAGE_FEATURES` varible only targets image recipes, as the | ||
| 7477 | :term:`IMAGE_FEATURES` variable is handled by the :ref:`ref-classes-core-image` | ||
| 7478 | class). However, the :term:`REQUIRED_IMAGE_FEATURES` varible can also be | ||
| 7479 | set from a :term:`Configuration File`, such as a distro | ||
| 7480 | configuration file, if the list of required image features should apply to | ||
| 7481 | all images using this :term:`DISTRO`. | ||
| 7482 | |||
| 7466 | :term:`REQUIRED_MACHINE_FEATURES` | 7483 | :term:`REQUIRED_MACHINE_FEATURES` |
| 7467 | When inheriting the :ref:`ref-classes-features_check` class, this variable | 7484 | When inheriting the :ref:`ref-classes-features_check` class, this variable |
| 7468 | identifies :term:`MACHINE_FEATURES` that must exist in the current | 7485 | identifies :term:`MACHINE_FEATURES` that must exist in the current |
