Re: RFC: DKMS - Dynamic Kernel Module Support
On Thu, Sep 11, 2008 at 07:43:39PM +0200, Josselin Mouette wrote:
> Le jeudi 11 septembre 2008 à 19:23 +0200, David Paleino a écrit :
> > > One of the issues I’m wondering about is: how do you ensure you always
> > > have the kernel headers for the installed kernels?
> > Some kind of check inside DKMS? In the end, that's a Bash script, and the
> > Debian maintainer (i.e. me, in this case) could just maintain a patch for this
> > (or just issue a warning at the kernel post-inst hook looking like "Hey, if you
> > do not install linux-headers-foo, you won't be able to use these modules: foo
> > bar baz buz").
> Yes, and if dkps depends on linux-headers-2.6-$subarch, that will do the
> trick at least for the default kernel. (Depending on just
> linux-headers-2.6 is not enough, since linux-headers-2.6.xx-y-$subarch
> provides it).
I think you meant:
depend on linux-headers-2.6.26-1-all
There is no linux-headers-2.6-all-latest
And even that means tying a nice and little package to a specific kernel
version, which is probably not such a nice idea. Especially not for
those who build their own kernel.
For i386 the situation is particualrily bad, as the -all will pull a
hosts of other packages.
Tzafrir Cohen | firstname.lastname@example.org | VIM is
http://tzafrir.org.il | | a Mutt's
email@example.com | | best
ICQ# 16849754 | | friend