LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 05-03-2009, 06:15 AM   #1
dar_beh_dar
LQ Newbie
 
Registered: Aug 2006
Distribution: Fedora
Posts: 21

Rep: Reputation: 1
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
 
Old 05-04-2009, 12:04 AM   #2
greplinux
Member
 
Registered: Jun 2007
Posts: 118

Rep: Reputation: 17
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
 
Old 05-05-2009, 01:27 AM   #3
dar_beh_dar
LQ Newbie
 
Registered: Aug 2006
Distribution: Fedora
Posts: 21

Original Poster
Rep: Reputation: 1
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables dnat working, but server logs local source IP instead of original source IP Nothsa Linux - Server 3 02-14-2008 05:34 PM
how to integrate driver source into kernel source tree zhchang Linux - Software 5 11-23-2005 12:34 AM
original Linux source code starpie Linux - Newbie 3 04-16-2005 10:41 AM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
/usr/source/ missing source tree swingert Linux - Newbie 2 07-19-2003 08:48 PM


All times are GMT -5. The time now is 09:26 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration