build pve kernel parallel

efeu

Renowned Member
Nov 6, 2015
91
8
73
How do you build pve kernel in parallel?
The -j flag on make ist completly ignored and building the kernel on a low clocked 32core epyc takes like forever (but well, could use 64 threads instead, which should speedup build times enormously)
 
Then after about 3 hours of build, it aborts with the following error(s) ....
Code:
# Autogenerate blacklist for watchdog devices (see README)
install -m 0755 -d debian/pve-kernel-5.4.41-1-pve/lib/modprobe.d
ls debian/pve-kernel-5.4.41-1-pve/lib/modules/5.4.41-1-pve/kernel/drivers/watchdog/ > watchdog-blacklist.tmp
ls: cannot access 'debian/pve-kernel-5.4.41-1-pve/lib/modules/5.4.41-1-pve/kernel/drivers/watchdog/': No such file or directory
make[1]: *** [debian/rules:137: .install_mark] Error 2
make[1]: Leaving directory '/ssdpool/kernel_build/pve-kernel/build'
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
make: *** [Makefile:58: pve-kernel-5.4.41-1-pve_5.4.41-1_amd64.deb] Error 2
 

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!