I have a dkms module for certain kernels (defined in dkms.conf):
PATCH_MATCH[0]="^5\.4\.0\-([0-9]|[1-3][0-9]|4[0-7])-" PATCH_MATCH[1]="^5\.4\.0\-(4[89]|[5-9][0-9])-" PATCH_MATCH[2]="^5\.[6-9]\.0\-" PATCH_MATCH[3]="^5\.10\.0\-" how can I restrict dkms to only build those modules on those kernels? DKMS always tries to build them on other kernels as well, like 5.11 and then some error messages appear, like:
Error! Bad return status for module build on kernel: 5.11.0-25-generic (x86_64) Consult .... info in that file is not really relevant, except maybe
warning jobserver unavailable: using -j1. Add .... But why is it trying to compile it at all? The current kernel is 5.11.0-25-generic, it should only compile for 5.10!! and the other ones, but not 5.11!!
What am I doing wrong?
SOCIAL SHARE CARD GENERATOR