On Sat, 16 Jul 2011, Benjamin Kaduk wrote:
On Fri, 15 Jul 2011, Robert Millan wrote:
FYI, DKMS supports Debian GNU/kFreeBSD now.
---------- Forwarded message ----------
dkms (2.2.0.1-2) unstable; urgency=low
.
* [6b2d392] Run depmod command only in Linux.
Thanks to Robert Millan (Closes: #631657)
The patch omits some context that is probably important to what is actually
going on, so I do not speak with full confidence. It seems that depmod is
roughly similar to freebsd's kldxref(8). The latter is not mentioned in the
changelog and does not appear in the patch -- does kFreeBSD circumvent the
generation of hints for the kernel linker, or is this step taken elsewhere
(in the individual module build routine, say), or should it be added in DKMS?
Upon further reflection, this mostly boils down to whether Policy requires
that kFreeBSD kernel modules build with bsd.kmod.mk. Though there may be
edge cases around module deinstallation or elsewhere.
-Ben