Post Reply  Post Thread 
How To Apply Patch to Kernel Source
Author Message
admin
~CM~
*******


Posts: 147
Group: Administrators
Joined: Jul 2007
Status: Offline
Reputation: 0
Thank 0
2 was given thank in 2 posts
Post: #1
How To Apply Patch to Kernel Source

Quote:
cd /usr/src/linux
bzip2 -dc /usr/src/patch-x.y.z.bz2 patch -p1 –dry-run


–dry-run option to check that the patch applies cleanly. It can be a real pain to pull out a partially-applied patch. The -p1 option strips off part of the diff file’s pathnames for each changed file (see the patch(1) manpage for more details). Now you’ve checked that it should apply cleanly, run the following to actually apply it. Then you’re done!

Quote:
bzip2 -dc /usr/src/patch-x.y.z.bz2 patch -p1


Thanks & Regards
------------------
~CM~

ADD TO DEL.ICIO.US  ADD TO DIGG  ADD TO FURL  ADD TO NEWSVINE  ADD TO NETSCAPE 
ADD TO TECHNORATI FAVORITES  Technorati ADD TO SQUIDOO  ADD TO WINDOWS LIVE  ADD TO YAHOO MYWEB  ADD TO ASK 
ADD TO REDDIT  ADD TO STUMBLEUPON  ADD TO GOOGLE   

07-25-2007 03:36 AM
Visit this user's website Find all posts by this user Quote this message in a reply
nikesh
Unregistered


Thank
was given thank in 0 posts
Post: #2
RE: How To Apply Patch to Kernel Source


ADD TO DEL.ICIO.US  ADD TO DIGG  ADD TO FURL  ADD TO NEWSVINE  ADD TO NETSCAPE 
ADD TO TECHNORATI FAVORITES  Technorati ADD TO SQUIDOO  ADD TO WINDOWS LIVE  ADD TO YAHOO MYWEB  ADD TO ASK 
ADD TO REDDIT  ADD TO STUMBLEUPON  ADD TO GOOGLE   

01-04-2008 10:16 PM
Quote this message in a reply
Post Reply  Post Thread 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  How to compile a kernel admin 0 736 07-25-2007 03:32 AM
Last Post: admin
  Linux Kernel Types admin 0 618 07-25-2007 03:16 AM
Last Post: admin

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: