On Sa August 4 2007, Thorsten Leemhuis wrote:
BTW, for Matt or other dkms lovers: can somebody please show a rough
spec file example how to use dkms in a SRPM (that can be compiled with
mock) that pre-compiles modules (that could get shipped in kmod
packages) and produces a dkms file for dynamic kernel-module generation,
that users could install? Both should use the same codepath for
compilation, to avoid that we have to maintain two?
Here you can find such an srpm for kqemu:
http://till.fedorapeople.org/dkms-kmod/
I don't know, what the current way to build xen kernel modules is, because
they have a different version than the other kernels and therefore the
kmodtool does not work.
I'd be really interested in that, because that is IMHO what we
should
aim for: Pre-compiled modules in packages for the masses, dynamic for
the rest and the rare cases where users might run into problem, and
maintain just one spec file/codepath.
This sounds good,
regards,
Till