build custom kernel pve with patches

barzag

New Member
Nov 28, 2022
18
0
1
Hello, I am looking to build my own kernel from 5.19 pve. I have a mac mini 8.1 and I have to apply patches in order to install drivers (eg fan control).
I made a request to T2linux who recommended me this:

You can derive the needed patches from the workflow.
Look at the lines github/workflows/build.yml#L143 down to github/workflows/build.yml#L160 for instruction on how to fetch and apply patches.

The SHA's can be found in build_params from the releases.

Also remember to set the correct configuration parameters. See .github/workflows/build.yml#L173 to .github/workflows/build.yml#L177 .

Alternatively, you could fork this repo and change the way the kernel sources are fetched (.github/workflows/build.yml#L141). If you do, you prob want to skip the step that copies in the kernel config from the official debian kernel.

I don't know where to start can someone help me?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!