Building a Custom Kernel Fails in Submodule

Seed

Renowned Member
Oct 18, 2019
134
69
68
126
I am attempting to build a custom kernel for proxmox using this guide: https://github.com/proxmox/pve-kernel

But with this repo:

Code:
https://git.proxmox.com/git/pve-kernel.git

But when executing:

Code:
make build-dir-fresh

I get:

Code:
Cloning into '/root/pve-kernel/submodules/ubuntu-kernel'...
fatal: remote error: upload-pack: not our ref 148c038ca663f09720ebdaa77e5c63d0e8da4573
fatal: Fetched in submodule path 'submodules/ubuntu-kernel', but it did not contain 148c038ca663f09720ebdaa77e5c63d0e8da4573. Direct fetching of that commit failed.
 
Hi,
thank you for the report, the git://git.proxmox.com/git/mirror_ubuntu-kernels was slightly behind, so it didn't yet contain the newest required tag. The issue should be fixed now thanks to @fabian!
 
Hi,
thank you for the report, the git://git.proxmox.com/git/mirror_ubuntu-kernels was slightly behind, so it didn't yet contain the newest required tag. The issue should be fixed now thanks to @fabian!
Thank you! Will give it a go.

C
 
@fiona

What distro can I use to build kernels? Right now I'm using proxmox itself, latest, which looks to be working well, but I assume you build on a debian distro. Can you share what version if so? Debian 13.5?

Found the dev pages so will follow that. Thanks again for the fix.

C
 
Last edited: