LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   reconstructing the original source tree for Fedora 8 (https://www.linuxquestions.org/questions/linux-kernel-70/reconstructing-the-original-source-tree-for-fedora-8-a-723299/)

dar_beh_dar 05-03-2009 06:15 AM

reconstructing the original source tree for Fedora 8
 
Hi everyone,

I am trying to recreate the source tree from which the kernel of my Fedora 8 distro has been built.

I unpacked the "kernel-2.6.23.1-42.fc8.src.rpm" file using "rpm -i ( as root )" and I wind up with a whole whack of files under
"/usr/src/redhat/SOURCES/"

There are a series of "config-*" files and another batch of "linux-2.6-*.patch" files. And then there are these guys:

Config.mk
COPYING.modules
drm-mm-git.patch
find-provides
genkey
linux-2.6.23.tar.bz2
Makefile.config
merge.pl
nouveau-drm.patch
patch-2.6.23.1.bz2

I've looked around there is no "Readme" or "Install".

I have successfully patched and built vanilla kernels from "kernel.org" before so I am familiar with the kernel's "make" and "config" system
>but< this stuff appears to be arranged around the RedHat build system.

What do I do?

Just apply the patches to the source tree or is there some special
RedHat way of doing this?

I am grateful for any pointers.


Regards

Reza

greplinux 05-04-2009 12:04 AM

Hi,

This is not like vanilla kernel and this is heavily patched for several workarounds with respect to Redhat/Fedora. So I think you should just patch and build the kernel. Hope this helps.

Thanks

dar_beh_dar 05-05-2009 01:27 AM

Thanks greplinux for your response.

I managed to find to pages with instructions on this:

http://fedoraproject.org/wiki/Docs/CustomKernel

http://www.howtoforge.com/kernel_compilation_fedora

Regards

dar_beh_dar


All times are GMT -5. The time now is 11:26 PM.