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