It has been suggested to me that, since our kernels nowadays are built
with CONFIG_MODULE_COMPRESS_XZ=Y, there is no need to link kmod.udeb
with libxz *as long as* we also do not use depmod or modinfo in d-i.
So, does d-i actually use depmod or modinfo?
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
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...).
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.
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
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.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 483 |
Nodes: | 16 (2 / 14) |
Uptime: | 17:12:42 |
Calls: | 9,617 |
Calls today: | 3 |
Files: | 13,692 |
Messages: | 6,156,484 |