[asterisk-bugs] [Zaptel 0013108]: [patch] Uninstalling modules will fail when installing to the subtree

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 20 16:28:25 CDT 2008


The following issue has been RESOLVED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13108 
====================================================================== 
Reported By:                Romik
Assigned To:                kpfleming
====================================================================== 
Project:                    Zaptel
Issue ID:                   13108
Category:                   zaptel (the module)
Reproducibility:            always
Severity:                   trivial
Priority:                   normal
Status:                     resolved
Zaptel Version:             1.4.11 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-07-18 10:42 CDT
Last Modified:              2008-08-20 16:28 CDT
====================================================================== 
Summary:                    [patch] Uninstalling modules will fail when
installing to the subtree
Description: 
Modules uninstall script ./build_tools/uninstall-modules will partially
fail when installing to the subtree DESTDIR=/somepath/ .
------------------------------------------
for mod in $MODULES; do
        BASE=`basename $mod`
        for file in `cat $KERNEL_MODULES_DIR/modules.dep | cut -d : -f 1 |
grep "$BASE$"`; do
                if [ -e "$file" ]; then
                        #echo "Deleting $file."
                        rm -f $file
                fi
        done
done
------------------------------------------
`cat $KERNEL_MODULES_DIR/modules.dep` fill fail with 
cat: /subtree-path/lib/modules/kernel-version/modules.dep: No such file or
directory
====================================================================== 

---------------------------------------------------------------------- 
 (0091609) kpfleming (administrator) - 2008-08-20 16:28
 http://bugs.digium.com/view.php?id=13108#c91609 
---------------------------------------------------------------------- 
The equivalent fix (but with a message telling the user what is happening)
is already present in the 1.4 branch of Zaptel. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-08-20 16:28 kpfleming      Note Added: 0091609                          
2008-08-20 16:28 kpfleming      Status                   new => resolved     
2008-08-20 16:28 kpfleming      Resolution               open => no change
required
2008-08-20 16:28 kpfleming      Assigned To               => kpfleming       
======================================================================




More information about the asterisk-bugs mailing list