[asterisk-bugs] [Asterisk 0005445]: [patch] Depmod failure while installing on different kernel version

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 11:05:37 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=5445 
====================================================================== 
Reported By:                arcivanov
Assigned To:                markster
====================================================================== 
Project:                    Asterisk
Issue ID:                   5445
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           I did not set the version :( 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             10-15-2005 12:04 CDT
Last Modified:              06-07-2008 11:05 CDT
====================================================================== 
Summary:                    [patch] Depmod failure while installing on different
kernel version
Description: 
Problem:

There is a bug in Makefile which will prevent depmod from completing its
task if installing on the kernel different from one currently running.

Explanation:

If KVERS is defined outside of Makefile and differs from "shell uname -r",
then depmod will fail since it is called on line 369 as:
      [ `id -u` = 0 ] && /sbin/depmod -a || :
as opposed to
      [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || :

Patch to fix this is attached to the bug.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 11:05  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 795

U   trunk/Makefile

------------------------------------------------------------------------
r795 | markster | 2008-06-07 11:05:34 -0500 (Sat, 07 Jun 2008) | 2 lines

Fix depmods for cross builds (bug http://bugs.digium.com/view.php?id=5445)

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=795 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 11:05  svnbot         Checkin                                      
06-07-08 11:05  svnbot         Note Added: 0088075                          
======================================================================




More information about the asterisk-bugs mailing list