diff options
| author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2022-12-09 19:01:55 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-18 10:41:21 +0000 |
| commit | 6846d4d00bc3a9d4e188ad9c8cfdf6e45cd1ba06 (patch) | |
| tree | 6a59e9936ac9f2ca063d4fc8a5c4d9ecc9492769 /documentation/dev-manual/quilt.rst | |
| parent | 474e071608c7c1c97e9dafde810aef5630c716e7 (diff) | |
| download | poky-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.rst | 16 |
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 | ||
| 21 | Follow these general steps: | 21 | Follow these general steps: |
| 22 | 22 | ||
| 23 | 1. *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 | ||
| 29 | 2. *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 | ||
| 33 | 3. *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 | ||
| 39 | 4. *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 | ||
| 45 | 5. *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 | ||
| 48 | 6. *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 | ||
| 68 | 7. *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 | ||
| 81 | 8. *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 |
