summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
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