On Mon, Sep 25, 2023 at 02:03:35AM +0200, Bastian Blank wrote: > The current way does not work. See all the bug reports about > uninstallable packages and what not with dkms. > > To build modules against version x, you'll need to install version x of > the headers, not x-1 or x+1. This currently works most of the time, but > is by far stable. And if you already have to search for the specific > version, it does not matter if you might have the ability to install > multiple at the same time, the archive will in any case only contain one > version at a time.
So you want to change something from where dkms works 99.99% of the time to 0% of the time? Having multiple kernel versions and being able to build for them is a very normal thing to do that almost always works. Why break that? Sure there are some bugs for when dkms has issues, but you don't get bug reports for all the cases where it is working. I am having trouble understanding what the problem was that you are attempting to fix, but so far the cure sounds far worse than the disease. -- Len Sorensen