diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-09-23 18:16:02 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-10-07 10:54:25 +0100 |
| commit | a6a7676910669f4bd3a0d4a0ac9a850ea491b7b1 (patch) | |
| tree | 7b11239dc93d1130288b13bfd48a3f960c89ba4f | |
| parent | 020c44eb3be4c15acd10bd3d7f56a6ad28a61f2e (diff) | |
| download | poky-a6a7676910669f4bd3a0d4a0ac9a850ea491b7b1.tar.gz | |
manuals: add references to the "do_patch" task
[YOCTO #14508]
Reported-by: Quentin Schulz <foss@0leil.net>
(From yocto-docs rev: 1e38ceafb25aac13bb9dd45626fd39ad1b68852d)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | documentation/dev-manual/common-tasks.rst | 2 | ||||
| -rw-r--r-- | documentation/migration-guides/migration-1.3.rst | 2 | ||||
| -rw-r--r-- | documentation/overview-manual/concepts.rst | 2 | ||||
| -rw-r--r-- | documentation/ref-manual/qa-checks.rst | 2 | ||||
| -rw-r--r-- | documentation/ref-manual/tasks.rst | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst index de26851521..94db146cc2 100644 --- a/documentation/dev-manual/common-tasks.rst +++ b/documentation/dev-manual/common-tasks.rst | |||
| @@ -9593,7 +9593,7 @@ Running Specific Tasks | |||
| 9593 | ---------------------- | 9593 | ---------------------- |
| 9594 | 9594 | ||
| 9595 | Any given recipe consists of a set of tasks. The standard BitBake | 9595 | Any given recipe consists of a set of tasks. The standard BitBake |
| 9596 | behavior in most cases is: :ref:`ref-tasks-fetch`, ``do_unpack``, ``do_patch``, | 9596 | behavior in most cases is: :ref:`ref-tasks-fetch`, ``do_unpack``, :ref:`ref-tasks-patch`, |
| 9597 | :ref:`ref-tasks-configure`, :ref:`ref-tasks-compile`, :ref:`ref-tasks-install`, :ref:`ref-tasks-package`, | 9597 | :ref:`ref-tasks-configure`, :ref:`ref-tasks-compile`, :ref:`ref-tasks-install`, :ref:`ref-tasks-package`, |
| 9598 | ``do_package_write_*``, and :ref:`ref-tasks-build`. The default task is | 9598 | ``do_package_write_*``, and :ref:`ref-tasks-build`. The default task is |
| 9599 | :ref:`ref-tasks-build` and any tasks on which it depends build first. Some tasks, | 9599 | :ref:`ref-tasks-build` and any tasks on which it depends build first. Some tasks, |
diff --git a/documentation/migration-guides/migration-1.3.rst b/documentation/migration-guides/migration-1.3.rst index 6a1755d1dc..09fc39d3ca 100644 --- a/documentation/migration-guides/migration-1.3.rst +++ b/documentation/migration-guides/migration-1.3.rst | |||
| @@ -62,7 +62,7 @@ Previously, an inconsistent mix of spaces and tabs existed, which made | |||
| 62 | extending these functions using ``_append`` or ``_prepend`` complicated | 62 | extending these functions using ``_append`` or ``_prepend`` complicated |
| 63 | given that Python treats whitespace as syntactically significant. If you | 63 | given that Python treats whitespace as syntactically significant. If you |
| 64 | are defining or extending any Python functions (e.g. | 64 | are defining or extending any Python functions (e.g. |
| 65 | ``populate_packages``, ``do_unpack``, ``do_patch`` and so forth) in | 65 | ``populate_packages``, ``do_unpack``, :ref:`ref-tasks-patch` and so forth) in |
| 66 | custom recipes or classes, you need to ensure you are using consistent | 66 | custom recipes or classes, you need to ensure you are using consistent |
| 67 | four-space indentation. | 67 | four-space indentation. |
| 68 | 68 | ||
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst index 36498ba1e1..f1457522da 100644 --- a/documentation/overview-manual/concepts.rst +++ b/documentation/overview-manual/concepts.rst | |||
| @@ -1208,7 +1208,7 @@ end result. | |||
| 1208 | The build system has knowledge of the relationship between these tasks | 1208 | The build system has knowledge of the relationship between these tasks |
| 1209 | and other preceding tasks. For example, if BitBake runs | 1209 | and other preceding tasks. For example, if BitBake runs |
| 1210 | ``do_populate_sysroot_setscene`` for something, it does not make sense | 1210 | ``do_populate_sysroot_setscene`` for something, it does not make sense |
| 1211 | to run any of the :ref:`ref-tasks-fetch`, ``do_unpack``, ``do_patch``, | 1211 | to run any of the :ref:`ref-tasks-fetch`, ``do_unpack``, :ref:`ref-tasks-patch`, |
| 1212 | :ref:`ref-tasks-configure`, :ref:`ref-tasks-compile`, and :ref:`ref-tasks-install` tasks. However, if | 1212 | :ref:`ref-tasks-configure`, :ref:`ref-tasks-compile`, and :ref:`ref-tasks-install` tasks. However, if |
| 1213 | :ref:`ref-tasks-package` needs to be run, BitBake needs to run those other tasks. | 1213 | :ref:`ref-tasks-package` needs to be run, BitBake needs to run those other tasks. |
| 1214 | 1214 | ||
diff --git a/documentation/ref-manual/qa-checks.rst b/documentation/ref-manual/qa-checks.rst index ff8916aedf..9455bec3fd 100644 --- a/documentation/ref-manual/qa-checks.rst +++ b/documentation/ref-manual/qa-checks.rst | |||
| @@ -677,7 +677,7 @@ Errors and Warnings | |||
| 677 | 677 | ||
| 678 | - ``Fuzz detected: <patch output> [patch-fuzz]`` | 678 | - ``Fuzz detected: <patch output> [patch-fuzz]`` |
| 679 | 679 | ||
| 680 | This check looks for evidence of "fuzz" when applying patches within the ``do_patch`` | 680 | This check looks for evidence of "fuzz" when applying patches within the :ref:`ref-tasks-patch` |
| 681 | task. Patch fuzz is a situation when the ``patch`` tool ignores some of the context | 681 | task. Patch fuzz is a situation when the ``patch`` tool ignores some of the context |
| 682 | lines in order to apply the patch. Consider this example: | 682 | lines in order to apply the patch. Consider this example: |
| 683 | 683 | ||
diff --git a/documentation/ref-manual/tasks.rst b/documentation/ref-manual/tasks.rst index e87be90cc0..414c972ad4 100644 --- a/documentation/ref-manual/tasks.rst +++ b/documentation/ref-manual/tasks.rst | |||
| @@ -327,7 +327,7 @@ file as a patch file:: | |||
| 327 | " | 327 | " |
| 328 | 328 | ||
| 329 | Conversely, if you have a file whose file type is ``.patch`` or ``.diff`` | 329 | Conversely, if you have a file whose file type is ``.patch`` or ``.diff`` |
| 330 | and you want to exclude it so that the ``do_patch`` task does not apply | 330 | and you want to exclude it so that the :ref:`ref-tasks-patch` task does not apply |
| 331 | it during the patch phase, you can use the "apply=no" parameter with the | 331 | it during the patch phase, you can use the "apply=no" parameter with the |
| 332 | :term:`SRC_URI` statement:: | 332 | :term:`SRC_URI` statement:: |
| 333 | 333 | ||
