Skip to content

Commit d76f72b

Browse files
[administration][linux_kernel] Mailing list patches
How to download and apply git patches from the Linux kernel mailing list (LKML).
1 parent 7922259 commit d76f72b

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

src/administration/linux_kernel.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -463,6 +463,30 @@ File: /etc/dracut.conf
463463
Build
464464
-----
465465

466+
Mailing List Patches
467+
~~~~~~~~~~~~~~~~~~~~
468+
469+
All upstream patches must go through review on the Linux kernel mailing list (LKML) by e-mailing ``linux-kernel@vger.kernel.org``. [49]
470+
471+
Download git commits from the mailing list:
472+
473+
1. Search for a patch series: https://lore.kernel.org/lkml/
474+
2. Find the "Message-ID" (within the ``<`` and ``>`` characters).
475+
476+
- If it is not on that page, select the "raw" button to see it.
477+
478+
3. Download the entire e-mail thread as a single "mbx" text file.
479+
480+
.. code-block:: sh
481+
482+
$ b4 am <MESSAGE_ID>
483+
484+
4. Import all of the git commits from a ``linux`` git repository. [50]
485+
486+
.. code-block:: sh
487+
488+
$ git am ./*.mbx
489+
466490
Configure Features
467491
~~~~~~~~~~~~~~~~~~
468492

@@ -838,3 +862,5 @@ Bibliography
838862
46. "Optimizing Ubuntu to run from a USB key or SD card." Steve Hanov's Blog. 2009. Accessed May 3, 2025. https://stevehanov.ca/blog/?id=48
839863
47. "Files b27d68a rpm-sources/baseos/kernel/6.14/config." GitHub Nobara-Project/rpm-sources. May 18, 2025. Accessed June 18, 2025. https://github.com/Nobara-Project/rpm-sources/blob/b27d68abdd1864a712d5401b67dc9fee18ed3344/baseos/kernel/6.14/config
840864
48. "Files f42/kernel-x86_64.config." Fedora Package Sources rpm/kernel. May 18, 2025. Accessed June 16, 2025. https://src.fedoraproject.org/rpms/kernel/blob/f42/f/kernel-x86_64-fedora.config
865+
49. "vger.kernel.org." Subspace mailing list server. 2023. Accessed January 19, 2026. https://subspace.kernel.org/vger.kernel.org.html
866+
50. "am,shazam: retrieving and applying patches." B4 end-user docs. 2022. Accessed January 19, 2026. https://b4.docs.kernel.org/en/latest/maintainer/am-shazam.html

0 commit comments

Comments
 (0)