If perhaps the issue is that during install it builds only against the currently running kernel, then perhaps it needs to have the equivalent of dkms --all, to rebuild against all installed kernels.
<GrueMaster> ok, then our wrapper needs a script that does a "for k in `ls /usr/src/linux-headers-*`; do make SYSSRC=$k module;done "
Or maybe, if the user has a lot of kernels installed, just build for the most recent N kernels, or something.
If perhaps the issue is that during install it builds only against the currently running kernel, then perhaps it needs to have the equivalent of dkms --all, to rebuild against all installed kernels.
<GrueMaster> ok, then our wrapper needs a script that does a "for k in `ls /usr/src/ linux-headers- *`; do make SYSSRC=$k module;done "
Or maybe, if the user has a lot of kernels installed, just build for the most recent N kernels, or something.