[asterisk-bugs] [DAHDI-linux 0013430]: [patch] ifup-hdlc does not install if using DESTDIR

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Sep 10 14:22:58 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13430 
====================================================================== 
Reported By:                jcollie
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   13430
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     confirmed
====================================================================== 
Date Submitted:             2008-09-05 11:15 CDT
Last Modified:              2008-09-10 14:22 CDT
====================================================================== 
Summary:                    [patch] ifup-hdlc does not install if using DESTDIR
Description: 
ifup-hdlc won't install if you are using DESTDIR during the install because
the Makefile is checking for /etc/sysconfig/network-scripts in the regular
root directory and not inside the DESTDIR.  This is important when building
a package for a distribution (like Fedora) where
/etc/sysconfig/network-scripts probably won't exist in the minimal chroot
that is used to build the package but
$(DESTDIR)/etc/sysconfig/network-scripts gets created to install ifup-hdlc
to.
====================================================================== 

---------------------------------------------------------------------- 
 (0092319) qwell (administrator) - 2008-09-10 14:22
 http://bugs.digium.com/view.php?id=13430#c92319 
---------------------------------------------------------------------- 
I actually disagree with this.

Looking at the lines just above there, you see it's doing the same check
for /etc/init.d/.  I don't see why one should have to create every
directory inside of the destination - it's my opinion that this should be
done on the host (whether it be done in a chroot or otherwise). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-10 14:22 qwell          Note Added: 0092319                          
======================================================================




More information about the asterisk-bugs mailing list