kernel patching
I'm trying to patch kernel 2.6.1 to 2.6.2-rc2, however it seems I suck at patching.
I have gotten a clean kernel and it is in the /usr/src/linux-2.6.1 I have the patch in /usr/src/patch-2.6.2-rc2.bz2 I've tried to patch it by: bunzip2 -cd /usr/src/patch-2.6.2-rc2.bz2 | patch -p0 it then says: can't find file to patch at line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: ----------------------------------------------- | diff -Nru a/CREDITS b/CREDITS | --- a/CREDITS Sun Jan 25 18:31:55 2004 | +++ b/CREDITS Sun Jan 25 18:31:55 2004 ----------------------------------------------- File to Patch: So I then type: /usr/src/linux-2.6.1 and it says: Patch: **** file /usr/src/linux-2.6.1 is not a regular file can't patch What exactly am i doing wrong? |
Try patch -p1 < zcat /usr/src/patch-2.6.2-rc2.bz2
|
That didn't work at all maybe your syntax is wrong
|
I am sorry, your right, correct syntax is:
bzcat /usr/src/patch-2.6.2-rc2.bz2 | patch -p1 |
still asks me for which file to patch.
should i be patching linux-2.6.1.tar.bz2 instead of the extracted contents of the file which resides in /usr/src/linux-2.6.1/ ? |
I am sorry, extract the kernel source. Then cd to the directory it created and type that command. I just did it to make sure it works and it did.
|
thanks, that worked great :)
I really appriciate it ~Sean |
All times are GMT -5. The time now is 08:35 PM. |