| View previous topic :: View next topic |
| Author |
Message |
travail101 n00b

Joined: 30 Apr 2004 Posts: 12 Location: United States of America
|
Posted: Sun Apr 03, 2005 11:39 am Post subject: HOW TO: Patching a Kernel |
|
|
I always have this problem when rolling a new kernel and never can find a good source to refer to when I google it, so I'm puting what I know here for me and others like me to reference later.
Patching the kernel with the following:
For Starters enter your Kernel Source directory
Then apply the patch, here's the command for the following types/compressions
.diff & .patch: | Code: | | patch -p1 < patch-file.diff | or | Code: | | cat patch-file.patch | patch -p1 |
.gz: | Code: | | zcat patch-file.gz | patch -p1 |
.bz2: | Code: | | bzcat patch-file.gz | patch -p1 |
Please correct any mistakes, and add any missing info in replies if you would
EDIT: yeah.. I'm hearing they are the same... post edited =D
Last edited by travail101 on Sun Apr 03, 2005 3:17 pm; edited 1 time in total |
|
| Back to top |
|
 |
LordArthas Guru


Joined: 01 Nov 2004 Posts: 493 Location: Maniago, Friûl, Italia
|
Posted: Sun Apr 03, 2005 11:42 am Post subject: Re: HOW TO: Patching a Kernel |
|
|
Hi!
| Quote: |
.diff: | Code: | | patch -p1 < patch-file.diff |
.patch: | Code: | | cat patch-file.patch | patch -p1 |
|
Aren't these two the same? I mean, also for the first you can write:
.diff: | Code: | | cat patch-file.diff | patch -p1 |
Michele. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|