Fix list numbering in build-custom-kernel

This commit is contained in:
Petr Bokoc 2021-01-26 00:31:55 +01:00 committed by pbokoc
parent 68c2da8dfa
commit 464744d297

View file

@ -114,29 +114,29 @@ The kernel, like any other Fedora package, has a branch per Fedora release.
`f<version>`. For example, to build a Fedora 28 kernel, you would first need
to check out that branch with:
1. Check out the branch for which you would like to build a kernel (`master`
. Check out the branch for which you would like to build a kernel (`master`
corresponds to Rawhide):
+
[source,bash]
----
git checkout origin/f28
----
2. To avoid conflicts with existing kernels, you can set a custom buildid by
. To avoid conflicts with existing kernels, you can set a custom buildid by
changing `# define buildid .local` to `%define buildid .<your_custom_id_here>`
in `kernel.spec`.
3. Make whatever changes or customizations you need.
4. Build the RPMs:
. Make whatever changes or customizations you need.
. Build the RPMs:
+
[source,bash]
----
fedpkg local
----
5. Install the new kernel:
. Install the new kernel:
+
[source,bash]
----
sudo dnf install --nogpgcheck ./x86_64/kernel-$version.rpm