Bug#1064976: linux-headers-6.6.13+bpo-amd64 incorrectly depends on the corresponding linux-image-amd64 package
On Tue, 2 Apr 2024 08:27:39 +0200 Bastian Blank <waldi@debian.org>
wrote:
> On Mon, Apr 01, 2024 at 09:25:40PM +0000, Luca Boccassi wrote:
> > Why do dkms modules need the image installed to be built? At the
very
> > least they didn't use to, the headers were enough last time I had
to
> > deal with that stuff for the nvidia drivers
>
> dkms is used to build modules for the kernel that is just being
> installed. To do that it needs also the headers in matching
versions.
>
> As the image can't depend on the headers, some other way was needed.
Sorry, I am still unable to understand the issue: dkms can and does
build modules for all installed _headers_ (plural). The fact that the
headers pull in a corresponding image does not change that fact, as far
as I can tell. In fact, it doesn't need any images at all, again as far
as I know.
Let's look at this the other way around: if there was no dependency, in
what scenario would things break and how?
--
Kind regards,
Luca Boccassi
Reply to: