dahdi-modules, dahdi-source

Philipp Kempgen philipp.kempgen at amooma.de
Sun Apr 18 13:13:40 UTC 2010


Tzafrir Cohen schrieb:
> On Sat, Apr 17, 2010 at 06:52:49PM +0200, Philipp Kempgen wrote:

>> Is it correct that the dahdi-modules-`uname -r` package build
>> from dahdi-source does not depend on linux-image-`uname -r`?
> 
> Right. Should it?

Now I see that my question wasn't clear and I should rephrase it:
dahdi-modules-`uname -r` does not depend on linux-image-`uname -r`.
Why is that? In my understanding e.g. dahdi-modules-2.6.32-3-686
doesn't work with any other kernel but 2.6.32-3-686 but apt is not
able to detect this dependency and would happily let me install a
newer kernel, after which the dahdi modules would simply not load
(in the "best case").

So I think (but I might be wrong) that dahdi-modules-_KVERS_ should
depend on linux-image-_KVERS_ -- or anything that identifies the
kernel's ABI.

Debian kernels are compiled with CONFIG_MODVERSIONS enabled and I
guess that modules could be compiled with
gcc -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h ...
however I have no idea how apt could use that information. That's
why I was suggesting `uname -r`.


    Philipp Kempgen
-- 
AMOOMA GmbH - Bachstr. 126 - 56566 Neuwied  ->  http://www.amooma.de
Geschäftsführer: Stefan Wintermeyer, Handelsregister: Neuwied B14998
Asterisk: http://the-asterisk-book.com - http://das-asterisk-buch.de
Videos of the AMOOCON VoIP conference 2009 ->  http://www.amoocon.de
-- 



More information about the Pkg-voip-maintainers mailing list