LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2005, 11:14 AM   #1
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Rep: Reputation: 15
Question what should do after rpmbuild?


Build kernel

After doing :

Install kernel*.src.rpm
cd /usr/src/redhat/SPECS
rpmbuild -ba kernel*.spec

What should i do next??
thanks
 
Old 01-14-2005, 12:16 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Go to /usr/src/redhat/RPMS/arch/. Substitute, the arch bit with the real architecture that you built the rpm for. Your rpm should be in there and all you would need to do is install it.
 
Old 01-15-2005, 04:26 AM   #3
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
is it by issueing this command one by one??

rpm -i kernel-debuginfo-2.6.5-1.358.root.i386.rpm
rpm -i kernel-doc-2.6.5-1.358.root.i386.rpm
rpm -i kernel-source-2.6.5-1.358.root.i386.rpm
 
Old 01-15-2005, 06:23 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You are right, but you can also do it all in one command like

#rpm -Uvh kernel-doc-2.6.5-1.358.root.i386.rpm kernel-source-2.6.5-1.358.root.i386.rpm etc,
so that any dependencies are automatically sorted out. Are you trying to build a kernel from a source rpm. If so just wondering where the newly built kernel is.
 
  


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
rpmbuild ?? mickeyboa Fedora 1 07-25-2004 11:09 PM
rpmbuild linuxdev Linux - Newbie 1 02-18-2004 04:13 PM
rpmbuild linuxdev Linux - General 1 02-18-2004 04:12 PM
rpmbuild linuxdev Linux - Newbie 0 02-11-2004 03:22 PM
rpmbuild mprice74 Linux - Newbie 2 08-17-2003 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration