On 23/08/2024 at 08:46, 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:

|  % 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

I do not see any postinst in kernel modules udebs. Am I missing something?

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.

FWIW, some time ago I submitted a patch for hw-detect which could use "modinfo -F firmware" as an additional way to find out which module must be reloaded after installing missing firmware.

Reply via email to