diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-11-22 11:19:58 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 19:20:29 +0000 |
| commit | 4d01625794c6517e07fe0b6218c7c3ce004f5951 (patch) | |
| tree | 7d1cc8da1e784d73b344d231f2a093ab46f61abc /documentation/ref-manual/variables.rst | |
| parent | 55621c31f1edbdb2f3d72e80916fed031e2ba298 (diff) | |
| download | poky-4d01625794c6517e07fe0b6218c7c3ce004f5951.tar.gz | |
manuals: fix paragraphs with the "inherit" word
Nothing wrong with this word, but instances of "inherit"
were looked for while looking for class names without references.
Fixing alignment and sometimes syntax.
(From yocto-docs rev: c418c645a360e74ebb91765a3041336f03097e0d)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/variables.rst')
| -rw-r--r-- | documentation/ref-manual/variables.rst | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst index ca62365cc3..8b54420d95 100644 --- a/documentation/ref-manual/variables.rst +++ b/documentation/ref-manual/variables.rst | |||
| @@ -126,8 +126,7 @@ system and gives an overview of their function and contents. | |||
| 126 | ":ref:`ref-classes-update-alternatives`" section. | 126 | ":ref:`ref-classes-update-alternatives`" section. |
| 127 | 127 | ||
| 128 | :term:`ANY_OF_DISTRO_FEATURES` | 128 | :term:`ANY_OF_DISTRO_FEATURES` |
| 129 | When inheriting the | 129 | When inheriting the :ref:`features_check <ref-classes-features_check>` |
| 130 | :ref:`features_check <ref-classes-features_check>` | ||
| 131 | class, this variable identifies a list of distribution features where | 130 | class, this variable identifies a list of distribution features where |
| 132 | at least one must be enabled in the current configuration in order | 131 | at least one must be enabled in the current configuration in order |
| 133 | for the OpenEmbedded build system to build the recipe. In other words, | 132 | for the OpenEmbedded build system to build the recipe. In other words, |
| @@ -215,12 +214,11 @@ system and gives an overview of their function and contents. | |||
| 215 | 214 | ||
| 216 | If you use the previous statement to retrieve the latest version of | 215 | If you use the previous statement to retrieve the latest version of |
| 217 | software, you need to be sure :term:`PV` contains | 216 | software, you need to be sure :term:`PV` contains |
| 218 | ``${``\ :term:`SRCPV`\ ``}``. For example, suppose you | 217 | ``${``\ :term:`SRCPV`\ ``}``. For example, suppose you have a kernel |
| 219 | have a kernel recipe that inherits the | 218 | recipe that inherits the :ref:`kernel <ref-classes-kernel>` class and you |
| 220 | :ref:`kernel <ref-classes-kernel>` class and you use the previous | 219 | use the previous statement. In this example, ``${SRCPV}`` does not |
| 221 | statement. In this example, ``${SRCPV}`` does not automatically get | 220 | automatically get into :term:`PV`. Consequently, you need to change |
| 222 | into :term:`PV`. Consequently, you need to change :term:`PV` in your recipe | 221 | :term:`PV` in your recipe so that it does contain ``${SRCPV}``. |
| 223 | so that it does contain ``${SRCPV}``. | ||
| 224 | 222 | ||
| 225 | For more information see the | 223 | For more information see the |
| 226 | ":ref:`dev-manual/common-tasks:automatically incrementing a package version number`" | 224 | ":ref:`dev-manual/common-tasks:automatically incrementing a package version number`" |
| @@ -3566,9 +3564,9 @@ system and gives an overview of their function and contents. | |||
| 3566 | 3564 | ||
| 3567 | IMGDEPLOYDIR = "${WORKDIR}/deploy-${PN}-image-complete" | 3565 | IMGDEPLOYDIR = "${WORKDIR}/deploy-${PN}-image-complete" |
| 3568 | 3566 | ||
| 3569 | Recipes inheriting the ``image`` class should copy files to be | 3567 | Recipes inheriting the :ref:`image <ref-classes-image>` class should copy |
| 3570 | deployed into :term:`IMGDEPLOYDIR`, and the class will take care of | 3568 | files to be deployed into :term:`IMGDEPLOYDIR`, and the class will take |
| 3571 | copying them into :term:`DEPLOY_DIR_IMAGE` afterwards. | 3569 | care of copying them into :term:`DEPLOY_DIR_IMAGE` afterwards. |
| 3572 | 3570 | ||
| 3573 | :term:`INC_PR` | 3571 | :term:`INC_PR` |
| 3574 | Helps define the recipe revision for recipes that share a common | 3572 | Helps define the recipe revision for recipes that share a common |
| @@ -6542,8 +6540,7 @@ system and gives an overview of their function and contents. | |||
| 6542 | section. | 6540 | section. |
| 6543 | 6541 | ||
| 6544 | :term:`REQUIRED_DISTRO_FEATURES` | 6542 | :term:`REQUIRED_DISTRO_FEATURES` |
| 6545 | When inheriting the | 6543 | When inheriting the :ref:`features_check <ref-classes-features_check>` |
| 6546 | :ref:`features_check <ref-classes-features_check>` | ||
| 6547 | class, this variable identifies distribution features that must exist | 6544 | class, this variable identifies distribution features that must exist |
| 6548 | in the current configuration in order for the OpenEmbedded build | 6545 | in the current configuration in order for the OpenEmbedded build |
| 6549 | system to build the recipe. In other words, if the | 6546 | system to build the recipe. In other words, if the |
