[PlanetCCRMA] Recompile kernel from src rpm
Peter Lutek
plutek at infinity.net
Mon Nov 29 11:58:01 PST 2004
On Mon, 2004-11-29 at 13:45, Rick B wrote:
> Hi all,
> I want to recompile the 2.6.8.1-1.520.1vR9.ll.rhfc2.ccrma kernel to
> not include some things built into the kernel (agpgart,etc).
> Since the kernel-source isn't available on the repository what is the
> best way to do this? Sorry for my ignorance. If you have a link that
> explains how please post it. I have kernel-2.6.8.1-1.520.1vR9.ll.src.rpm
> and I know there must be a way to unpack this and recompile it.
>
> Rick B
rpm -Uvh kernel-2.6.8.1-1.520.1vR9.ll.src.rpm
cd /usr/src/redhat/SOURCES
bunzip2 linux-2.6.8.1.tar.bz
tar -xvf linux-2.6.8.1.tar
this yields the full source tree under
/usr/src/redhat/SOURCES/linux-2.6.8.1, with all the configs and patches
under /usr/src/redhat/SOURCES
at this point, i am confused. has the source under ...../linux-2.6.8.1
been patched already, or do we need to re-patch? if we need to patch, is
there a doc somewhere which outlines the order and content of patching?
my specific issue is to attempt to get acpi functional (currently some
of the /proc/acpi/ directories are empty). i don't see the acpi patch in
..../SOURCES/ , so i'll have to apply that patch, but there may be
issues about when in the patch sequence i apply that one.
-p
More information about the PlanetCCRMA
mailing list