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

RE: [rhelv5-list] A way to 'yum' in the kernel source

yum install kernel-devel

-----Original Message-----
From: rhelv5-list-bounces redhat com
[mailto:rhelv5-list-bounces redhat com] On Behalf Of Ben
Sent: Tuesday, December 18, 2007 8:45 AM
To: rhelv5-list redhat com
Subject: [rhelv5-list] A way to 'yum' in the kernel source

Hi there,

I'm trying to compile and install mpt-status and its friends to monitor
RAID subsystem on a Sun x4600 M2.  I've already done this successfully
RHEL4 on some x4200 M2 servers which are using basically the same RAID 

To get mpt-status working you need to compile it against the kernel
so therefore that needs to be installed.  Under RHEL4 this was easy
to do in a scriptable manner:

up2date --get-source kernel
rpm -Uvh /var/spool/up2date/kernel-*.src.rpm
cd /usr/src/redhat/SPECS/
rpmbuild -bp --target=i686 kernel-2.6.spec
cd /usr/src/redhat/BUILD/kernel-2.6.9
mv linux-2.6.9 /usr/src/
cd /usr/src
ln -s ./linux-2.6.9 linux

Can anyone please tell me what the neatest, most hands-off way of
and installing the kernel source is please under RHEL5?

I've tried doing

1) yum install kernel-source
 	No joy

2) yum install yum-utils ; yumdownloader --source kernel
 	Also no joy

Neither worked.  Suggestions appreciated!

Thank you,

Unix Support, MISD, University of Cambridge, England
Plugger of wire, typer of keyboard, imparter of Clue
         Life Is Short.          It's All Good.

rhelv5-list mailing list
rhelv5-list redhat com

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