Re: depmod madness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Apr 4, 2008 at 3:35 PM, Artie Ziff <artie.ziff@xxxxxxxxx> 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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux