commit d678647dbd617a1aa5f61caaea09d051e9676ffd
Author: Thomas Lamprecht <t.lamprecht@proxmox.com>
Date:   Mon Nov 16 11:57:34 2020 +0100

    update ABI file for 5.4.73-1-pve
    
    (generated with debian/scripts/abi-generate)
    
    Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>

commit 8af30a16d3bfa749d453f38d967765fa93ade116
Author: Thomas Lamprecht <t.lamprecht@proxmox.com>
Date:   Mon Nov 16 10:55:09 2020 +0100

    bump version to 5.4.73-1
    
    Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>

以 pve-release-6.x ,基于 debian buster 为例:

# 配置 pve 软件包国内镜像源
$ echo "deb <https://mirrors.tuna.tsinghua.edu.cn/proxmox/debian> buster pve-no-subscription" > /etc/apt/sources.list.d/pve-no-subscription.list
$ wget <https://enterprise.proxmox.com/debian/proxmox-ve-release-6.x.gpg> -O /etc/apt/trusted.gpg.d/proxmox-release-6.x.gpg

Install build dependencies (i got these from the pve-kernel/debian/control file):

apt install asciidoc-base automake bc bison cpio debhelper dh-python file flex gcc git kmod libdw-dev libelf-dev libiberty-dev libnuma-dev libpve-common-perl libslang2-dev libssl-dev libtool lintian lz4 perl-modules python-minimal rsync sed sphinx-common tar xmlto zlib1g-dev

Clone proxmox-kernel

git clone <https://git.proxmox.com/git/pve-kernel.git>

initialize the submodules

make submodule

If that fails Fabian told me that you have cd in each submodule and do "git fetch --tags"

make

It will build with ALL cores

会自动编译,不需要设置多线程,它会自动调用多线程编译。编译完当前目录的 .deb 包就是内核包,直接使用 dpkg -i 安装即可。

Q&A