Kernel Newbies archive mirror
 help / color / mirror / Atom feed
From: neutrino network <neutrino.network1@gmail.com>
To: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Extract patch from kernel mailing list
Date: Fri, 7 Oct 2022 12:46:26 +0500	[thread overview]
Message-ID: <CABbRPAWFTPs=hACKz886P86ov2K8Dr_8UT+XCNNpFhhWf5ggJA@mail.gmail.com> (raw)
In-Reply-To: <20221006160924.z5pggnldlwinbxpj@meerkat.local>


[-- Attachment #1.1: Type: text/plain, Size: 1035 bytes --]

On Thu, Oct 6, 2022 at 9:09 PM Konstantin Ryabitsev <
konstantin@linuxfoundation.org> 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


   - Clone linux repo, git clone git://
   git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git


   - 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.

[-- Attachment #1.2: Type: text/html, Size: 1721 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply	other threads:[~2022-10-07  7:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CABbRPAUwSn1j+oRgzWOa=o3uzL8URKw2hVwqad9tngYh-_pmmQ@mail.gmail.com>
2022-10-06 12:05 ` Extract patch from kernel mailing list Richard
2022-10-06 16:09 ` Konstantin Ryabitsev
2022-10-07  7:46   ` neutrino network [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CABbRPAWFTPs=hACKz886P86ov2K8Dr_8UT+XCNNpFhhWf5ggJA@mail.gmail.com' \
    --to=neutrino.network1@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=konstantin@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).