RHEL4 and Kernel Build from Source incl. xen source
Rick Stevens
rstevens at vitalstream.com
Wed Sep 14 21:46:16 UTC 2005
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? -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list