2004-10-19 18:32:09

by Russell Miller

[permalink] [raw]
Subject: [MAKE/INSTALL] install bug

As of 2.6.8.1, there was a small bug in the makefile. To reproduce:

Build a modules enabled kernel.
Make sure /lib/modules/2.6.whatever doesn't exist
Run make install.
It won't create the /lib/modules/2.6.whatever directory until you run make
modules_install.

I think either:
It should tell you to run make modules_install first
or it should do it automatically.

Thanks,

--Russell

--

Russell Miller - [email protected] - Le Mars, IA
Duskglow Consulting - Helping companies just like you to succeed for ~ 10 yrs.
http://www.duskglow.com - 712-546-5886


2004-10-20 22:36:21

by Sam Ravnborg

[permalink] [raw]
Subject: Re: [MAKE/INSTALL] install bug

On Tue, Oct 19, 2004 at 11:59:32AM -0500, Russell Miller wrote:
> As of 2.6.8.1, there was a small bug in the makefile. To reproduce:
>
> Build a modules enabled kernel.
> Make sure /lib/modules/2.6.whatever doesn't exist
> Run make install.
> It won't create the /lib/modules/2.6.whatever directory until you run make
> modules_install.
>
> I think either:
> It should tell you to run make modules_install first
> or it should do it automatically.

Thats actually a bug in your distribution supplied installkernel script -
and outside the control of the kernel.

Sam