[pve-devel] [PATCH kernel] buildsys: don't litter my system and allow user builds

Dietmar Maurer dietmar at proxmox.com
Fri Apr 1 16:48:11 CEST 2016

> -	mkdir -p /lib/modules/${KVNAME}
> -	ln -sf ${TOP}/${KERNEL_SRC} /lib/modules/${KVNAME}/build
> -	make -C ${TOP}/${KERNEL_SRC} M=${TOP}/${AACRAIDDIR} modules
> +	make -C ${TOP}/${KERNEL_SRC} M=${TOP}/${AACRAIDDIR}
> KSRC=${TOP}/${KERNEL_SRC} modules

AFAIR some modules use /lib/modules/${KVNAME}/build as include path. Such
would not load if that directory points to the wrong sources (kernel version

Did you verify that all modules still load if you compile when 
/lib/modules/${KVNAME}/build point to a different kernel version?

More information about the pve-devel mailing list