Custom Kernel

robingr

Active Member
Sep 5, 2017
11
1
43
35
Hi,
I am using Proxmox at home and on one server on the internet.
As I am running a lot of gameservers and wanted to experiment a bit with different kernel configurations I wantet to rebuild a custom kernel.
But I cannot find the complete kernel sources.
I found the git repo but thats not a complete kernel.

Whats the way to compile a custom kernel for Proxmox 5?
 
That git repo ist about 8mb large.
Thats not a complete kernel ready to build.
 
if you look closely the kernel sources we use (from ubuntu) are there in form of git submodules
 
Ah okay, I see.
I was able to pull the submodules. And I guess i got it building.
This whole repo isn't well documented. If it is at all.
The Readme is completely useless.
Can't there be a few lines about the building process?
 
Last edited:
Ah okay, I see.
I was able to pull the submodules. And I guess i got it building.
This whole repo isn't well documented. If it is at all.
The Readme is completely useless.
Can't there be a few lines about the building process?

I agree the Readme is outdated ;) the Makefile is not that complicated though, it basically
  1. checks the GCC version
  2. verifies that the submodules are there
  3. copies the kernel sources to a temp build folder
  4. applies some patches
  5. generates the kernel build config
  6. builds the kernel
  7. builds the kernel tools
  8. builds some external modules (spl, zfs, intel NIC drivers)
  9. packs all the files into packages and creates some meta packages