LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 01-02-2014, 10:23 PM   #1
lmeena
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
how to create rpm of monolithic kernel


I am trying to create rpm of monolithic kernel.
i.e. I want disable module support.
Following steps I have performed:-
1.make xconfig --> in this i disable "Enable module support" option.
2.Now when i try to create kernel rpm using rpmbuild command.
It says enable module support and build the kernel.
3. I understood that i need to make changes in kernel.spec file.
But i am not sure where all to make changes.

Does anybody has created rpm of monolithic kernel?
Thanks in advance.
 
Old 01-04-2014, 07:16 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Unless there are compelling reasons for building a distributable monolithic kernel for RHEL, CentOS or Fedora that you haven't told us about (yet) I would strongly suggest you do not attempt to do that. OTOH if an exercise in futility is sorely needed, or if this is only for a local system / virtualization guest you're willing to b0rk, then you could just build and install the kernel the way you want it and then create a .spec file around those commands. Its not that hard to do really. If unsure build, install and run the kernel and list the commands you used.
 
Old 01-05-2014, 08:31 AM   #3
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
I've used checkinstall to create rpms. Crude, but effective
 
  


Reply



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
can we convert the monolithic kernel of linux into micro kernel (for 1.0) iamrahulbhadana Linux - Kernel 2 10-05-2012 01:56 PM
Ubuntu monolithic kernel LinuxAdmire Ubuntu 9 01-13-2011 01:36 AM
Is the Linux kernel a monolithic one? LinuxSeeker Linux - General 4 10-27-2004 07:58 PM
Any Drawbacks for building Monolithic Kernel linuxboy69 Linux - Software 5 08-26-2004 02:41 PM
building a monolithic kernel corbis_demon Linux - Newbie 1 07-14-2004 12:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration