diff options
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/ref-manual/tasks.rst | 19 |
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 | ||
334 | Conversely, if you have a directory full of patch files and you want to | 334 | Conversely, if you have a file whose file type is ``.patch`` or ``.diff`` |
335 | exclude some so that the ``do_patch`` task does not apply them during | 335 | and you want to exclude it so that the ``do_patch`` task does not apply |
336 | the patch phase, you can use the "apply=no" parameter with the | 336 | it 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 | ||
346 | In the | 345 | In the previous example ``file1.patch`` would be applied as a patch by default |
347 | previous example, assuming all the files in the directory holding the | 346 | while ``file2.patch`` would not be applied. |
348 | patch files end with either ``.patch`` or ``.diff``, every file would be | ||
349 | applied as a patch by default except for the ``patch_file5`` patch. | ||
350 | 347 | ||
351 | You can find out more about the patching process in the | 348 | You 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 |