I'm not sure what the preferred approach to dealing with dkms modules is, looking through other dkms modules, the
Depends: linux-headers-generic | linux-headers
approach seems fairly common. the "either you've installed specific headers for your kernel or i'll install the most common ones" way.
someone who uses openafs would need to make a judgement whether thats a reasonable thing to do or not. obviously this places responsibility on diferent kernel users to know that they need to install the correct headers.
yes, theres no perfect way to do this.
I'm not sure what the preferred approach to dealing with dkms modules is, looking through other dkms modules, the
Depends: linux-headers- generic | linux-headers
approach seems fairly common. the "either you've installed specific headers for your kernel or i'll install the most common ones" way.
someone who uses openafs would need to make a judgement whether thats a reasonable thing to do or not. obviously this places responsibility on diferent kernel users to know that they need to install the correct headers.