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

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Apr 4 08:06:14 CEST 2016


> On April 1, 2016 at 4:48 PM Dietmar Maurer <dietmar at proxmox.com> wrote:
> 
> 
> > -	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
> modules 
> would not load if that directory points to the wrong sources (kernel version
> mismatch).
> 
> Did you verify that all modules still load if you compile when 
> /lib/modules/${KVNAME}/build point to a different kernel version?

I did not check all modules.
But I also don't have a /lib/modules/${KVNAME}/build, so I doubt they used that ;-)




More information about the pve-devel mailing list