<div dir="ltr">On Ubuntu I've made an ugly shell script and put it in /etc/kernel/postinst.d/<div><br></div><div>This is the script:</div><div><br></div><div><div>#!/bin/bash</div><div>#Kernel version being installed is param 1<br></div><div>kernel_installing=$1<br></div><div>cd /usr/src/dahdi<br></div><div>KVERS=$kernel_installing make<br></div><div>KVERS=$kernel_installing make install<br></div><div><br></div></div><div>You'll also need to reboot the system.</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 10, 2014 at 2:55 PM, A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Friday 10 Oct 2014, Thorsten Göllner wrote:<br>
> Hi,<br>
><br>
> I have Asterisk 11 with DAHDI (Sangoma E1-Card) running on Ubuntu 12.04<br>
> LTS. Asterisk and DAHDI-Drivers are installed from source.<br>
><br>
> When doing an "apt-get upgrade" the system packages will be update but<br>
> sometimes Asterisk is broken. Which packages do I have to exclude when I<br>
> do not have time to recompile Asterisk/Dahdi each time? libc?<br>
> Kernel-Packages?<br>
><br>
> Thanks so far!<br>
> -Thorsten-<br>
<br>
</span>DAHDI is basically a set of kernel modules, which *by design* work only with<br>
the exact kernel for which they were compiled; so avoid any upgrade to the<br>
kernel if you don't have time to rebuild DAHDI.<br>
<br>
C library changes potentially could require anything to be recompiled; but in<br>
practice almost invariably don't, precisely because of how much breakage would<br>
potentially be caused. If a C library update requires recompilation of other<br>
packages then either there has been a Flag Day (and not the sort where mean<br>
people stay indoors!) or you're running Gentoo.<br>
<br>
I believe there is a way in Debian, and therefore probably Ubuntu, to have<br>
some script execute automatically following a kernel update. So you might<br>
even be able to have DAHDI self-rebuild following a kernel update.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
AJS<br>
<br>
Note: Originating address only accepts e-mail from list! If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>