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 19th June 2012, 09:40 AM
Overlord Laharl Offline
Registered User
 
Join Date: May 2009
Posts: 8
linuxmandrivafirefox
Compile vanilla kernels in F17

Before Fedora made the decision to create the unified file system in F17, I was able to compile custom vanilla kernels from kernel.org via the following steps:

- download kernel from kernel.org
- untar and move it to /usr/src
- copy an old .config from Fedora's kernel-devel into the new kernel
- make oldconfig
- make menuconfig
- make rpm
- rpm -ivh <new kernel>
- go to /lib/modules/<new kernel>
- change the symlink for /lib/modules/<new kernel>/build to point to /usr/src/rpm/BUILD/<new kernel> instead of /usr/src/<new kernel>
- run mkinitrd and edit grub
- reboot

However, now that F17 has moved with the unified file system, can anyone please explain to me how will this affect a vanilla kernel build since /lib/modules is now located to /usr/lib/modules and what are the precise steps needed to ensure that the kernel installs to /usr/lib/modules and not /lib/modules?

Also, In the future where the /lib and /lib64 symlinks will be removed, how will this affect the vanilla kernel builds again?

Also, how will this affect compat-wireless? compat-wireless always looks into lib/modules/<kernel version> and takes firmware from /lib/firmware , how should I ensure that compat will look for /usr/lib and not /lib or /lib64 in the event that Fedora eventually removes the symlinks?
Reply With Quote
  #2  
Old 19th June 2012, 12:52 PM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 1,718
linuxfirefox
Re: Compile vanilla kernels in F17

What's stopping you from creating symlinks?
Reply With Quote
  #3  
Old 6th September 2012, 06:10 PM
eliashickman's Avatar
eliashickman Offline
Registered User
 
Join Date: Dec 2007
Location: Seoul, South Korea
Age: 37
Posts: 202
macossafari
Re: Compile vanilla kernels in F17

I'm bumping this thread because I think the OP has some merit-able questions and I'd like to know if anyone has an answer or if there exists (or is in the works) an updated Kernel Compile HowTo.
__________________
It does not require a majority to prevail, but rather an irate, tireless minority keen to set brush fires in people’s minds. —Samuel Adams
Reply With Quote
  #4  
Old 6th September 2012, 06:48 PM
AndrewSerk Offline
Registered User
 
Join Date: Oct 2010
Posts: 876
linuxfirefox
Re: Compile vanilla kernels in F17

Hello,
The following should work to the best of my knowledge but has not been tested by me:

Looking through the kernel.spec file for 3.5.3 it appears there are four places one would have to change "/lib/modules" to "/usr/lib/modules".

Hope this helps,
Reply With Quote
Reply

Tags
compile, f17, kernels, vanilla

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
How to get a proper config to compile a vanilla kernel? sunr2007 Using Fedora 1 29th June 2011 09:13 AM
FC4 Vanilla 2.6.11.* Doesn't compile dweeks Using Fedora 4 16th July 2005 06:34 PM


Current GMT-time: 08:28 (Sunday, 19-05-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