iOn Thu, May 03, 2012 at 08:26:40AM +0200, Sven Eckelmann wrote:
On Wednesday, May 02, 2012 11:16:13 PM Antonio Quartulli wrote:
would it be cleaner to run depmod -e $(uname -r) instead of using -a ?
Why? The module doesn't have to be build for the current kernel.
Ok, then maybe $(uname -r) is not the appropriate way to get the version of the kernel we are compiling the module for, but I think we should run depmod only for that kernel.
However, is a minor problem. I see every other kernel module acting the way I described. But we can live anyway I think :)
Cheers,