VirtualBox kernel modules

Andriy Gapon avg at FreeBSD.org
Tue Jan 29 09:52:27 UTC 2013


on 11/01/2013 17:34 Bernhard Fröhlich said the following:
> I think this is an unwanted side effect. In fact I changed the defintion of
> where the kernel module should be installed in virtualbox-ose-kmod/Makefile
> from KMODDIR=/boot/modules to KMODDIR?=/boot/modules to allow
> overwriting the KMODDIR in case you want to have a non default directory
> for your kernel modules (like in a jail).
> 
> I haven't found yet where KMODDIR is set to /boot/kernel but it obviously is
> defined somewhere. I'm also not sure if that is really a virtualbox
> problem or if
> we better should fix that in Mk and set KMODDIR or create a new variable for
> ports kernel modules.
> 
> In the meantime overwriting KMODDIR to /boot/modules in your make.conf
> should help.

Bernhard,

I think that whatever the improvements from the change, it introduced a quite
inconvenient regression.  Please consider reverting this change while the proper
solution is being looked for.

Thank you.
-- 
Andriy Gapon


More information about the freebsd-emulation mailing list