summaryrefslogtreecommitdiffstats
path: root/documentation
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:42 +0000
commita55e7effcbed7c2ef8be34e5ef1d0109ef1e55c7 (patch)
tree91168d1a6c290d41dcaf5a4f9f0b17a6487f516c /documentation
parentb41d8d65d597ae754950e6ae1ad982d9d26db362 (diff)
downloadpoky-a55e7effcbed7c2ef8be34e5ef1d0109ef1e55c7.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: 3061d3d62054a5c3b9e16bfce4bcd186fa7a23d2) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-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 4edae33392..2438c023b4 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