从lore.kernel.org获取补丁的工具b4

  1. 如何安装b4?
    1.1 获取b4的源码
    $ git clone git://git.kernel.org/pub/scm/utils/b4/b4.git
    1.2 使能b4
    $ cat ~/.bash_profile
    alias b4="$HOME/develop/source_code/kernel.org/b4/b4.sh" // 将此行加入~/.bash_profile
    $ . ~/.bash_profile
  2. 如何使用b4?
    2.1 从https://lkml.org/获取某个补丁的Message-ID

2.2 使用b4获取补丁
$ b4 am <Message-Id>
示例如下:
$ b4 am 20201009110320.20832-1-ceggers@arri.de

posted @ 2020-11-11 17:24  Jello  阅读(1237)  评论(0编辑  收藏  举报