LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-02-2008, 07:20 PM   #1
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31
Kernel patching sequence


Hello,

I've been looking through Kernel in a Nutshell but am still unclear on this issue:

I have just installed the base kernel 2.6.25 from kernel.org. I'd like to patch it incrementally (learning purposes). I'm assuming I can't use the incremental patch patch-2.6.25.1-2 since patch level one isn't even installed yet. Should I use patch-2.6.25.1
first and then the incremental patch patch-2.6.25.1-2?

Thanks,

ab
 
Old 07-02-2008, 08:08 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,831

Rep: Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832
Not a problem - the patches are cumulative. If you put -1 on you need to reverse it prior to putting a later one (-2, or -4 ....)
Have a look at ../Documentation/applying-patches.txt
 
Old 07-02-2008, 08:10 PM   #3
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 62
THe patches at kernel.org are cummulative. So you can take the latest patch level and apply that to the base kernel and you're done.
 
Old 07-02-2008, 09:10 PM   #4
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Thanks for the replies guys. Syg00, not sure where the doc is you listed. ../?

Thanks Again,

ab
 
Old 07-02-2008, 09:30 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 17,831

Rep: Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832Reputation: 2832
In your kernel source tree ...
 
Old 07-03-2008, 03:49 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Google
Google
!!
http://www.google.com/search?q=applying-patches.txt
 
  


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
error while patching Rtlinux 3.1 kernel using kernel linux-2.4.29 dolreich_c Linux - General 1 02-06-2018 06:48 AM
Error while patching RTLinux 2.6.9 kernel using kernel linux-2.6.9 krishna_karne Linux - Software 1 11-16-2007 10:36 PM
patching Debian Stock Kernel with prepatch from kernel.org kushalkoolwal Debian 10 08-25-2007 01:05 PM
powerpc: kernel patching... but which kernel source? parent's_basement Ubuntu 2 01-15-2007 01:46 PM
Patching a 2.6 kernel with a 2.4 kernel keyboard driver..possible? dxx Linux - Laptop and Netbook 3 11-18-2004 04:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:41 PM.

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