summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/tasks.rst
diff options
context:
space:
mode:
authorMax Krummenacher <max.oss.09@gmail.com>2022-01-03 20:50:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-07 11:12:06 +0000
commit22075d91d6ed7ee250429c3a77204ebaa15baba5 (patch)
tree0949df52e83b7d0ac9d91ce474d02dba7d8bb570 /documentation/ref-manual/tasks.rst
parent3182ba8142ea7fe7a529cb59e43e4e93357b20ee (diff)
downloadpoky-22075d91d6ed7ee250429c3a77204ebaa15baba5.tar.gz
ref-manual: fix patch documentation
The do_patch implementation does not apply patches from an entry in SRC_URI pointing to a directory. Remove the claim that this is implemented. (From yocto-docs rev: de1156b6d95a2d1738807f0b0525edd0b58fc0e9) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/tasks.rst')
-rw-r--r--documentation/ref-manual/tasks.rst16
1 files changed, 7 insertions, 9 deletions
diff --git a/documentation/ref-manual/tasks.rst b/documentation/ref-manual/tasks.rst
index 8d563714a1..d484d08f82 100644
--- a/documentation/ref-manual/tasks.rst
+++ b/documentation/ref-manual/tasks.rst
@@ -326,21 +326,19 @@ file as a patch file::
326 file://file;apply=yes \ 326 file://file;apply=yes \
327 " 327 "
328 328
329Conversely, if you have a directory full of patch files and you want to 329Conversely, if you have a file whose file type is ``.patch`` or ``.diff``
330exclude some so that the ``do_patch`` task does not apply them during 330and you want to exclude it so that the ``do_patch`` task does not apply
331the patch phase, you can use the "apply=no" parameter with the 331it 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
334 SRC_URI = " \ 334 SRC_URI = " \
335 git://path_to_repo/some_package \ 335 git://path_to_repo/some_package \
336 file://path_to_lots_of_patch_files \ 336 file://file1.patch \
337 file://path_to_lots_of_patch_files/patch_file5;apply=no \ 337 file://file2.patch;apply=no \
338 " 338 "
339 339
340In the 340In the previous example ``file1.patch`` would be applied as a patch by default
341previous example, assuming all the files in the directory holding the 341while ``file2.patch`` would not be applied.
342patch files end with either ``.patch`` or ``.diff``, every file would be
343applied as a patch by default except for the ``patch_file5`` patch.
344 342
345You can find out more about the patching process in the 343You can find out more about the patching process in the
346":ref:`overview-manual/concepts:patching`" section in 344":ref:`overview-manual/concepts:patching`" section in