copy-modules: Add postinst scripts in Linux modules packages to run depmod
On Linux, modprobe and udevd rely on having valid module indexes
(modules.alias, modules.dep, etc.) generated by depmod. Currently d-i
usually (but possibly not always) runs depmod after installing a Linux
modules package.
As a step away from this, add postinst scripts to all modules packages
that run depmod if necessary.
Closes: #369256
Ben Hutchings
3 years ago
2 | 2 |
* build-arch, copy-modules: Replace deprecated tempfile command with mktemp
|
3 | 3 |
* copy-modules: Fail if building from installed Linux package without
|
4 | 4 |
modules.dep
|
|
5 |
* copy-modules: Add postinst scripts in Linux modules packages to run depmod
|
|
6 |
(Closes: #369256)
|
5 | 7 |
|
6 | 8 |
-- Ben Hutchings <benh@debian.org> Sat, 25 Jul 2020 03:23:18 +0100
|
7 | 9 |
|