LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-28-2005, 06:57 AM   #1
lets-eat-gary
Member
 
Registered: Jul 2003
Distribution: mandrake 9.1
Posts: 62

Rep: Reputation: 15
recompiling kernel source rpm


Hi people

I have just installed Mandriva 2005 LE.

In previous versions of mandrake I have always recompiled the source RPM as described here :- http://mandrakeusers.org/index.php?s...=4596&hl=srpm.

I normally did a recompile when a kernel update was released.

I have just tried by getting the source rpm for the kernel that comes with Mandriva 2005 (kernel-2.6.11.6mdk-1-1mdk.src.rpm).

When I goto install the athlon-kernel I get the messages that there are conflicts, this is due to me installing a kernel with the same name as the one installed.

I was advised

"Normally you change a string in the kernel's makefile so instead of being "kernel-2.6.11.6mdk" you have "kernel-2.6.11.6leg" for example."

How can I change the makefile using the following technique for recompiling?

rpm --rebuild --target YOUR_ARCH kernel.VERSION.src.rpm command.

Shall I install the source rpm?

Any help would be great.

Cheers
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
recompiling the kernel source welery Linux - Software 2 02-01-2005 05:40 AM
kernel-source-2.6.5-7.src.rpm requires kernel-dummy to build!? fizzdandantilus Suse/Novell 5 12-02-2004 12:48 PM
kernel-source rpm itywygms Linux - Newbie 1 08-21-2004 12:51 PM
Kernel source RPM carlosjjang Linux - Software 1 05-06-2004 10:11 AM
kernel-source RPM problem Whosrodney Red Hat 7 09-30-2003 04:59 PM


All times are GMT -5. The time now is 10:54 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
Open Source Consulting | Domain Registration