Yes, it produced ten (10) various *_test.el5.i686.rpms, in the /RPMS/i686 directory, as expected.

The symlink was created by the rpm build & install process...I did not create it.

That symlink is located in /lib/modules/2.6.18-8.1.3_test.el5 and is a link to
../../../usr/src/kernels/2.6.18-8.1.3_test.el5-i686, as expected.

The problem is I have nothing named 2.6.18-8.1.3_test.el5-i686 in my RPM
build tree to copy to /usr/src/kernels/

I only have BUILD/kernel-2.6.18/linux-2.6.18.i686

uname -r gives me: 2.6.18-8.1.3_test.el5

I have:
kernel-devel-2.6.18-8.1.3.el5.i686 "Development package for developing
kernel modules to match the kernel".

and

kernel-headers-2.6.18-8.1.3.el5.i386 "Header files for the Linux kernel for
use by glibc"

installed on my machine.
Is this not the 'kernel-devel' that you refer to?
Or, perhaps I am missing something?

Also, thanks for looking at my problem.
I hope I can also help eventually : )
-m


----- Original Message ----- From: "Akemi Yagi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 26, 2008 2:51 PM
Subject: Re: rpm kernel build question


On Tue, Feb 26, 2008 at 2:21 PM, markaoki <[EMAIL PROTECTED]> wrote:
hi, its installed:

 kernel-devel-2.6.18-8.1.3.el5.i686 "Development package for developing
 kernel modules to match the kernel".
kernel-headers-2.6.18-8.1.3.el5.i386 "Header files for the Linux kernel for
 use by glibc"

Let me see if I get the situation correct.

When you built your own kernel with the '_test' added, rebuilding the
srpm should have produced:

kernel-2.6.18-8.1.3_test.el5.i686.rpm
kernel-devel-2.6.18-8.1.3_test.el5.i686.rpm

among other things.  You need to install the kernel-devel rpm as well.
That should give you the correct symlink in the /lib/modules/`uname
-r`/ directory.

The BUILD directory you are referring to is where the rebuilding takes
place.  It is supposed to have the linux-2.6.18.i686 directory.

Akemi

Reply via email to