Distributions Debian and others use common.postinst, with goal to do a one-off build/install/etc of a module across all available kernels.
Arch itself has the same (and a little more) with their hook.sh script.
Adding the functionality into dkms itself, should allow us to drop these scripts ... which in one way or another duplicate core dkms functionality - autoinstall, dependency resolution, skipping of modules, etc.
Distributions Debian and others use
common.postinst, with goal to do a one-off build/install/etc of a module across all available kernels.Arch itself has the same (and a little more) with their hook.sh script.
Adding the functionality into dkms itself, should allow us to drop these scripts ... which in one way or another duplicate core dkms functionality - autoinstall, dependency resolution, skipping of modules, etc.