summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual/quilt.rst
diff options
context:
space:
mode:
authorMichael Opdenacker <michael.opdenacker@bootlin.com>2022-12-09 19:01:55 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-18 10:41:21 +0000
commit6846d4d00bc3a9d4e188ad9c8cfdf6e45cd1ba06 (patch)
tree6a59e9936ac9f2ca063d4fc8a5c4d9ecc9492769 /documentation/dev-manual/quilt.rst
parent474e071608c7c1c97e9dafde810aef5630c716e7 (diff)
downloadpoky-6846d4d00bc3a9d4e188ad9c8cfdf6e45cd1ba06.tar.gz
manuals: define proper numbered lists
Using "#." instead of "1.", "2.", "3.", etc. (From yocto-docs rev: 11c2585acd0fa6c330702af2359ce5a9e47cde1f) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reported-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/dev-manual/quilt.rst')
-rw-r--r--documentation/dev-manual/quilt.rst16
1 files changed, 8 insertions, 8 deletions
diff --git a/documentation/dev-manual/quilt.rst b/documentation/dev-manual/quilt.rst
index 1dd9ff02d4..24343e2fac 100644
--- a/documentation/dev-manual/quilt.rst
+++ b/documentation/dev-manual/quilt.rst
@@ -20,32 +20,32 @@ form of a patch all using Quilt.
20 20
21Follow these general steps: 21Follow these general steps:
22 22
231. *Find the Source Code:* Temporary source code used by the 23#. *Find the Source Code:* Temporary source code used by the
24 OpenEmbedded build system is kept in the :term:`Build Directory`. See the 24 OpenEmbedded build system is kept in the :term:`Build Directory`. See the
25 ":ref:`dev-manual/temporary-source-code:finding temporary source code`" section to 25 ":ref:`dev-manual/temporary-source-code:finding temporary source code`" section to
26 learn how to locate the directory that has the temporary source code for a 26 learn how to locate the directory that has the temporary source code for a
27 particular package. 27 particular package.
28 28
292. *Change Your Working Directory:* You need to be in the directory that 29#. *Change Your Working Directory:* You need to be in the directory that
30 has the temporary source code. That directory is defined by the 30 has the temporary source code. That directory is defined by the
31 :term:`S` variable. 31 :term:`S` variable.
32 32
333. *Create a New Patch:* Before modifying source code, you need to 33#. *Create a New Patch:* Before modifying source code, you need to
34 create a new patch. To create a new patch file, use ``quilt new`` as 34 create a new patch. To create a new patch file, use ``quilt new`` as
35 below:: 35 below::
36 36
37 $ quilt new my_changes.patch 37 $ quilt new my_changes.patch
38 38
394. *Notify Quilt and Add Files:* After creating the patch, you need to 39#. *Notify Quilt and Add Files:* After creating the patch, you need to
40 notify Quilt about the files you plan to edit. You notify Quilt by 40 notify Quilt about the files you plan to edit. You notify Quilt by
41 adding the files to the patch you just created:: 41 adding the files to the patch you just created::
42 42
43 $ quilt add file1.c file2.c file3.c 43 $ quilt add file1.c file2.c file3.c
44 44
455. *Edit the Files:* Make your changes in the source code to the files 45#. *Edit the Files:* Make your changes in the source code to the files
46 you added to the patch. 46 you added to the patch.
47 47
486. *Test Your Changes:* Once you have modified the source code, the 48#. *Test Your Changes:* Once you have modified the source code, the
49 easiest way to test your changes is by calling the :ref:`ref-tasks-compile` 49 easiest way to test your changes is by calling the :ref:`ref-tasks-compile`
50 task as shown in the following example:: 50 task as shown in the following example::
51 51
@@ -65,7 +65,7 @@ Follow these general steps:
65 the ":ref:`dev-manual/disk-space:conserving disk space during builds`" 65 the ":ref:`dev-manual/disk-space:conserving disk space during builds`"
66 section. 66 section.
67 67
687. *Generate the Patch:* Once your changes work as expected, you need to 68#. *Generate the Patch:* Once your changes work as expected, you need to
69 use Quilt to generate the final patch that contains all your 69 use Quilt to generate the final patch that contains all your
70 modifications:: 70 modifications::
71 71
@@ -78,7 +78,7 @@ Follow these general steps:
78 You can find the resulting patch file in the ``patches/`` 78 You can find the resulting patch file in the ``patches/``
79 subdirectory of the source (:term:`S`) directory. 79 subdirectory of the source (:term:`S`) directory.
80 80
818. *Copy the Patch File:* For simplicity, copy the patch file into a 81#. *Copy the Patch File:* For simplicity, copy the patch file into a
82 directory named ``files``, which you can create in the same directory 82 directory named ``files``, which you can create in the same directory
83 that holds the recipe (``.bb``) file or the append (``.bbappend``) 83 that holds the recipe (``.bb``) file or the append (``.bbappend``)
84 file. Placing the patch here guarantees that the OpenEmbedded build 84 file. Placing the patch here guarantees that the OpenEmbedded build