LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel patching (https://www.linuxquestions.org/questions/linux-software-2/kernel-patching-239488/)

pfunk 10-06-2004 01:51 PM

kernel patching
 
I want to go from kernel 2.4.18 to 2.6.8 ... it seems easier to me to just apply all the patches instead of just reinstalling the kernel from scratch. I found all the patches I will need at www. linuxhq.com --- Is linunxhq.com a good source to get patches? I tried to get them from www.kernel.org but i can't find all the patches i need only the full kernels.

How can you be sure that patches are "authentic"? I've read on HOWTO pages about verifying source code and they always refer to a file named blahblah.bz2.sign on which you should run your gpg program. This seems easy enough except where can you get this .sign file?

thanks

Tinkster 10-06-2004 02:03 PM

Where on linuxhq did you spot a patch from
2.4 to 2.6? :) I don't think there is such a thing.

And as far as the process of applying patches
goes there must be some sort of misapprehension,
getting and untarring a single file has got to beat
a series of 20 zcat <file> | patch -p1 by FAR. ;}


Cheers,
Tink

pfunk 10-06-2004 02:09 PM

well there is a patch link under 2.6.0 - i assumed that it was a patch to go from 2.4.27 to 2.6.0

I didn't think you could patch across minor versions but when i saw that i figured i was wrong.

pfunk 10-06-2004 06:55 PM

i did one kernel patch but i started getting these errors saying "is -R assumed" meaning the patch was in reverse order or something. I tried to say yes but then other errors came into play. any help on what i'm doing wrong?

i backed up the linux-2.4.18 tree then i uncompressed the patch-2.4.19.bz2 file then i said

cat patch-2.4.19 | patch -p1

i also tried

patch -p1 < patch-2.4.19

they both gave the same error.

also, anyone have a definitive word on whether you can patch from 2.4.27 to 2.6.0? thanks,


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