[asterisk-dev] [DAHDI-linux 0014862]: When using DESTDIR, depmod is run on the host, not on the staging directory

Shaun Ruffell sruffell at digium.com
Thu Sep 30 10:52:03 CDT 2010


On 09/30/2010 05:44 AM, Dave WOOLLEY wrote:
> modules_install runs depmod on the build system, whereas it needs to
> be run on the target system, e.g. as an RPM postinstall script.
> Also, if it find the modules at all, they will be in the wrong
> place.
> 
> The problem with the suggested workaround is that one then has to fix
> up ownership and possibly permissions.
> 

Mind reopening and submitting a patch to
https://issues.asterisk.org/view.php?id=14862 with what you would like
to see?  I believe you're just suggesting adding the -b flag to depmod,
but a patch would make that clear.

Thanks, Shaun

-- 
Shaun Ruffell
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org



More information about the asterisk-dev mailing list