Re: [PATCH] [KBUILD] fix external module install path

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

 



Eric Sandeen wrote:
> Eric Sandeen wrote:
>> Installing external modules is supposed to put them in some path
>> under /lib/modules/<version>/extra/subdir/, but this change:
>> http://linux.bkbits.net:8080/linux-2.6/?PAGE=cset&REV=1.1982.9.23
>> makes them go under /lib/modules/<version>/extrasubdir
> 
> er, hang on.  Now it's not doing it ;-)  stay tuned.
> 
> Sorry... I really did get an "extrafs/" directory somehow :)

Urgh, I can't figure out what tickles it reliably.

There is at least another buglet (?) though, if you don't put a slash on
the end of your M=, you lose the subdir path.

[root@marathon-01 linux-2.6.18.x86_64]# make M=fs/ext3/ modules_install
  INSTALL fs/ext3/ext3.ko
  DEPMOD  2.6.18-8.el5
[root@marathon-01 linux-2.6.18.x86_64]# find /lib/modules/`uname
-r`/extra* -name ext3.ko
/lib/modules/2.6.18-8.el5/extra/fs/ext3/ext3.ko

[root@marathon-01 linux-2.6.18.x86_64]# make M=fs/ext3 modules_install
  INSTALL fs/ext3/ext3.ko
  DEPMOD  2.6.18-8.el5
[root@marathon-01 linux-2.6.18.x86_64]# find /lib/modules/`uname
-r`/extra* -name ext3.ko
/lib/modules/2.6.18-8.el5/extra/fs/ext3/ext3.ko
/lib/modules/2.6.18-8.el5/extra/ext3.ko

I'm confused.  Maybe Sam knows how to fix it... :)

-Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux