On Fri, Aug 23, 2024 at 08:46:53AM +0200, Bastian Blank wrote: >On Fri, Aug 23, 2024 at 12:39:14AM +0200, Pascal Hambourg wrote: >> On 22/08/2024 at 18:50, Bastian Blank wrote: >> > On Thu, Aug 22, 2024 at 04:38:30PM +0200, Marco d'Itri wrote: >> > > >> > > So, does d-i actually use depmod or modinfo? >> > >> > Yes, it does. I think we should get rid of it however. >> > >> > | % grep ^depmod -B 3 -A 2 kernel-wedge-2.105/commands/copy-modules >> > | if [ "$os" = linux ]; then >> > | cat >"debian/$i-$version-di.postinst" <<EOF >> > | #!/bin/sh -e >> > | depmod $installedname >> > | EOF >> > | fi >> >> depmod and modinfo are used by other udeb packages (partman, hw-detect...). > >All the depmod calls are not needed, as the kernel packages are the sole >responsible ones. > >For modinfo, hw-detect tries to extract the description of the modules >to give users a list for manual loading. Under what circumstances will >udev not auto load the module, but manual loading will result in >something working?
There's potentially quite a lot of modules that aren't going to be triggered by udev, e.g. extra filesystems or hardware that's not discoverable. -- Steve McIntyre, Cambridge, UK. st...@einval.com "The problem with defending the purity of the English language is that English is about as pure as a cribhouse whore. We don't just borrow words; on occasion, English has pursued other languages down alleyways to beat them unconscious and rifle their pockets for new vocabulary." -- James D. Nicoll