[Letux-kernel] depmod for replicant modules

Andreas Kemnade andreas at kemnade.info
Sat Jun 29 17:29:40 CEST 2019


Hi,

I found some dirty way to create a modules.dep file in finished
replicant images.
On a system with depmod available.
- create a directory /some_tmp_dir/lib/modules/
ln -s /path/to/replicant/system/lib/modules /some_tmp_dir/lib_modules/4.17
depmod -b /some_tmp_dir 4.17

modprobe then works. But now we a using a lot of insmod in load_modules.sh,
so it is not so important

There was a patch here on this list  to create a modules.dep during build for
replicant 6.0. I have to check where it ended up.

Regards,
Andreas


More information about the Letux-kernel mailing list