There is a way already in dkms.conf to specify which kernels not to build with. Look at the OBSOLETE_BY directive. I don't see why you would ever want the package to install though if it's not going to work with your kernel.
That sounds to me like a core problem that user needs to know about and should block package installation. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/735505 Title: RFC: add a mechanism to disable building a module for known bad kernels -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
