LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-11-2004, 07:05 PM   #1
G-fahmah
LQ Newbie
 
Registered: Feb 2004
Location: Puerto Rico
Distribution: Slackware 9.1
Posts: 12

Rep: Reputation: 0
kernel patching command?


what are the steps to patch a 2.6.3 kernel? or if theres any howto i would appreciated
 
Old 03-11-2004, 07:08 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
patch -p1 < patchfile
 
Old 03-11-2004, 10:39 PM   #3
G-fahmah
LQ Newbie
 
Registered: Feb 2004
Location: Puerto Rico
Distribution: Slackware 9.1
Posts: 12

Original Poster
Rep: Reputation: 0
thank you
 
Old 03-15-2004, 11:14 PM   #4
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
sure to get the same kernel version that the patch applies to.

Assuming that the kernel you just downloaded is linux-x.y.z.tar.bz2, unpack it as follows:
$ bunzip2 linux-x.y.z.tar.bz2
$ tar xvf linux-x.y.z.tar
You should now have a kernel source tree in a directory named linux-x.y.z.

Assuming that the name of your patch file is /tmp/my-patch-x.y.z.gz, apply the patch as follows:
$ cd linux-x.y.z
$ zcat /tmp/my-patch-x.y.z.gz | patch -p1
 
  


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
Kernel patching.. new.thing Linux - Hardware 3 07-13-2005 06:36 AM
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
kernel patching pfunk Linux - Software 3 10-06-2004 06:55 PM
Patching the kernel jrdioko Linux - Software 2 06-29-2004 11:48 AM
Kernel Patching? wr3ck3d Linux - General 4 04-13-2003 03:17 PM

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

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