mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-28 14:56:35 +00:00
Update modules/ROOT/pages/kernel/build-custom-kernel.adoc
This commit is contained in:
parent
9f0d661ebe
commit
68c2da8dfa
1 changed files with 12 additions and 12 deletions
|
@ -117,10 +117,10 @@ to check out that branch with:
|
|||
1. Check out the branch for which you would like to build a kernel (`master`
|
||||
corresponds to Rawhide):
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
git checkout origin/f28
|
||||
----
|
||||
[source,bash]
|
||||
----
|
||||
git checkout origin/f28
|
||||
----
|
||||
|
||||
2. To avoid conflicts with existing kernels, you can set a custom buildid by
|
||||
changing `# define buildid .local` to `%define buildid .<your_custom_id_here>`
|
||||
|
@ -130,17 +130,17 @@ to check out that branch with:
|
|||
|
||||
4. Build the RPMs:
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
fedpkg local
|
||||
----
|
||||
[source,bash]
|
||||
----
|
||||
fedpkg local
|
||||
----
|
||||
|
||||
5. Install the new kernel:
|
||||
|
||||
[source,bash]
|
||||
----
|
||||
sudo dnf install --nogpgcheck ./x86_64/kernel-$version.rpm
|
||||
----
|
||||
[source,bash]
|
||||
----
|
||||
sudo dnf install --nogpgcheck ./x86_64/kernel-$version.rpm
|
||||
----
|
||||
|
||||
|
||||
=== Building a non-debugging kernel
|
||||
|
|
Loading…
Reference in a new issue