RHEL4 and Kernel Build from Source incl. xen source

Thomas.vonSteiger at swisscom.com Thomas.vonSteiger at swisscom.com
Thu Sep 15 05:53:17 UTC 2005


 
My kernel-2.6.9-11.EL.src.rpm has 39,4Mb and
kernel-devel-2.6.9-11.EL.i686.rpm has 3,7Mb
I think, inside kernel-devel there is no kernel source.
There are only Makefile and Headerfile in kernel-devel.
Both rpm's are from rhn. Are you have done this with xen ?


-----Original Message-----
From: redhat-install-list-bounces at redhat.com
[mailto:redhat-install-list-bounces at redhat.com] On Behalf Of Rick
Stevens
Sent: Wednesday, September 14, 2005 11:46 PM
To: Getting started with Red Hat Linux
Subject: Re: RHEL4 and Kernel Build from Source incl. xen source

Thomas.vonSteiger at swisscom.com wrote:
> Hello,
> 
> I like to patch the RHEL4 Kernel with xen Source.
> For this i need kernel.src.rpm, kernel-devel.rpm and xen Source.
> With "rpmbuild --bp" i can create BUILD tree with all patches.
> How i can go forward now with kernel-devel and /usr/src/redhat/BUILD 
> Kernel Source ?
> Is there a howto about this, using kernel-devel with kernel.src for
RHEL4 ?

Well, "kernel-devel" is essentially the same thing as the old 
"kernel-source" RPM for the 2.4 kernels.  It installs the kernel source
in "/usr/src/kernels/(kernel-version-number)" as opposed to the old 2.4
location of "/usr/src/linux-(kernel-version)".

In the future, either just install the "kernel-devel" RPM -OR- download,
install, and "rpmbuild" the kernel source RPM.  You don't need to do
both.

At this point, just "cd /download/directory;rpm -ivh kernel-devel*" as
root and get on with building Xen.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-         Okay, who put a "stop payment" on my reality check?        -
----------------------------------------------------------------------

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list at redhat.com
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request at redhat.com
Subject: unsubscribe




More information about the Redhat-install-list mailing list