summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/tasks.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/tasks.rst')
-rw-r--r--documentation/ref-manual/tasks.rst19
1 files changed, 8 insertions, 11 deletions
diff --git a/documentation/ref-manual/tasks.rst b/documentation/ref-manual/tasks.rst
index 9fe1c296aa..ca19908bc9 100644
--- a/documentation/ref-manual/tasks.rst
+++ b/documentation/ref-manual/tasks.rst
@@ -331,22 +331,19 @@ file as a patch file:
331 file://file;apply=yes \ 331 file://file;apply=yes \
332 " 332 "
333 333
334Conversely, if you have a directory full of patch files and you want to 334Conversely, if you have a file whose file type is ``.patch`` or ``.diff``
335exclude some so that the ``do_patch`` task does not apply them during 335and you want to exclude it so that the ``do_patch`` task does not apply
336the patch phase, you can use the "apply=no" parameter with the 336it during the patch phase, you can use the "apply=no" parameter with the
337``SRC_URI`` statement: 337:term:`SRC_URI` statement::
338::
339 338
340 SRC_URI = " \ 339 SRC_URI = " \
341 git://path_to_repo/some_package \ 340 git://path_to_repo/some_package \
342 file://path_to_lots_of_patch_files \ 341 file://file1.patch \
343 file://path_to_lots_of_patch_files/patch_file5;apply=no \ 342 file://file2.patch;apply=no \
344 " 343 "
345 344
346In the 345In the previous example ``file1.patch`` would be applied as a patch by default
347previous example, assuming all the files in the directory holding the 346while ``file2.patch`` would not be applied.
348patch files end with either ``.patch`` or ``.diff``, every file would be
349applied as a patch by default except for the ``patch_file5`` patch.
350 347
351You can find out more about the patching process in the 348You can find out more about the patching process in the
352":ref:`overview-manual/concepts:patching`" section in 349":ref:`overview-manual/concepts:patching`" section in