Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 4th November 2009, 02:23 PM
keven Offline
Registered User
 
Join Date: Dec 2008
Posts: 4
linuxfedorafirefox
Custom kernel - Kernel-headers not built!

I'm building a custom kernel following the http://fedoraproject.org/wiki/Docs/CustomKernel reference. The document suggests that the kernel-headers RPM will be built as well - I have yet to find a combination that actually builds this RPM (I've tried on both Fedora 10 and Fedora 11).

I have tried various options to the "rpmbuild" command to no avail. I've also modified the kernel.SPEC file to set the "with_headers" variable to 1 (true).

Here is the rpmbuild command that I'm using:
rpmbuild --target i686 --without debug --with headers --with firmware -bb SPECS/kernel.spec

The kernel-PAE, kernel-PAE-devel, and kernel-PAE-firmware RPMs are created (as expected). These install, and the kernel boots successfully.

In the mean-time, I've hand-moved the /usr/include/{asm,asm-generic,linux} directories to "orig", and created soft-links to /usr/src/kernels/2.6.30.8-64.pps.fc11.i686.PAE/arch/x86/include/asm, /usr/src/kernels/2.6.30.8-64.pps.fc11.i686.PAE/include/asm-generic, and /usr/src/kernels/2.6.30.8-64.pps.fc11.i686.PAE/include/linux, which are packaged under the kernel-PAE-devel package. This works, and allows me to compile user-space programs which require new kernel headers, but it's obviously a kludge.

Any guidance would be appreciated.
Reply With Quote
Reply

Tags
built, custom, kernel, kernelheaders

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
yum install kernel-headers and kernel-devel without internet access faichiu Using Fedora 4 29th April 2009 03:16 AM
Debian HOW-TO: Custom Kernel Compile with headers leigh123linux Linux Chat 4 21st January 2007 06:21 PM
Howto compile modules which need kernel headers that are not included in kernel-devel raoul Guides & Solutions (No Questions) 2 31st March 2006 11:44 PM
custom-built kernel and RPM interaction grifferz Using Fedora 5 29th November 2004 11:40 AM


Current GMT-time: 04:16 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat