[Bug 735505] Re: RFC: add a mechanism to disable building a module for known bad kernels

2011-09-10 Thread Launchpad Bug Tracker
[Expired for dkms (Ubuntu) because there has been no activity for 60 days.] ** Changed in: dkms (Ubuntu) Status: Incomplete => Expired -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/735505 Titl

[Bug 735505] Re: RFC: add a mechanism to disable building a module for known bad kernels

2011-07-12 Thread Mario Limonciello
At least in master right now there is actually code to check if the kernel is a distro kernel. The apport rule will only file bugs on distro kernels. That means that kernels from earlier releases and kernels from PPAs shouldn't trigger the apport rule. Would that be sufficient to avoid problems?

[Bug 735505] Re: RFC: add a mechanism to disable building a module for known bad kernels

2011-04-19 Thread Felix Geyer
> There should be a way to tell dkms not to build a module for kernels > newer than $FOO, or (maybe preferably) at least make the failure > non-fatal so that the package still installs fine but issues a warning > that the build failed for some kernel(s). A dkms variable that contains the last kern

[Bug 735505] Re: RFC: add a mechanism to disable building a module for known bad kernels

2011-03-16 Thread Alberto Milone
Thanks Mario. According to the man page we can do something like the following: ubuntu_804="Ubuntu 8.04" if [ -x /usr/bin/lsb_release ]; then if [ "$(/usr/bin/lsb_release -sir)" == "${ubuntu_804}" ]; then OBSOLETE_BY

[Bug 735505] Re: RFC: add a mechanism to disable building a module for known bad kernels

2011-03-15 Thread Timo Aaltonen
Ok, I didn't know about that one (neither did Alberto). The problem is that you can have several kernel versions installed on your system, and it'd be rather rude to make the new kernel remove the package which worked fine with the original kernel version. -- You received this bug notification b

[Bug 735505] Re: RFC: add a mechanism to disable building a module for known bad kernels

2011-03-15 Thread Mario Limonciello
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