[CentOS] depmod madness

Fri Apr 4 22:35:16 UTC 2008
Artie Ziff <artie.ziff at gmail.com>

Hello,

What can I do when attempting to run depmod with these options:

-Ae -b base -F System.map

to prevent depmod from appending the following path:

lib/modules/2.6.18-53.1.14.el5/modules.dep.temp

to the specified base? I am specifying a base as:

-b ./lib/modules/2.6.16.23-custom

So depmod errors/fails with: FATAL: Could not open
./lib/modules/2.6.16.23-custom/lib/modules/2.6.18-53.1.14.el5/modules.dep.temp

btw, '/lib/modules/2.6.18-53.1.14.el5' belongs to the native system that
is running on my host

Why is depmod using that "system" path?

Thank you.
-AZ