Re: Extract patch from kernel mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Thu, Oct 6, 2022 at 9:09 PM Konstantin Ryabitsev <konstantin@xxxxxxxxxxxxxxxxxxx> wrote:
On Thu, Oct 06, 2022 at 01:21:04PM +0500, neutrino network wrote:
> Hello,
>
> How to extract patches from the kernel mailing list?

If you do it frequently and want a convenient tool to do it, I suggest you
look at b4:
https://b4.docs.kernel.org/en/stable-0.10.y/

-K
Thank you all, using "b4" to extract the mbox and "git am" to apply on target repo was helpful. Sharing steps;
  • Get message ID from the email posted on KML with patch/es
  • Get mbox of your KML patches;
    • yum install b4
    • b4 am <email-message-id> /*Generate mbox id at end, starting with "git am" command*/
    • git am ./<b4-generated-mbx-id>.mbx /*Copy paste the command after your b4 am completed succesfully*/
    • It will apply all the patches in the series on your local linux repository
 cheers.
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux