[CentOS] depmod madness
Akemi Yagi
amyagi at gmail.com
Sat Apr 5 01:07:51 UTC 2008
On Fri, Apr 4, 2008 at 3:35 PM, Artie Ziff <artie.ziff at gmail.com> wrote:
> 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?
Do you want to run depmod against /lib/modules/2.6.16.23-custom ? Then,
depmod -a /lib/modules/2.6.16.23-custom
should do. If you add '-b foo', it will prepend the 'foo' to your
default version (`uname -r`) which is what you are seeing.
Akemi
More information about the CentOS
mailing list