kernel compilation
i am trying to patch my kernel (2.4.19-9mdk) to 2.4.20 (and farther) i am following the guide found at www.digitalhermit.com/linux/kernel.html and get to the point where i cd to /usr/src/ and use the command patch -p1 < patch01 (patch-2.4.20)
[root@localhost src]# patch -p1 < patch-2.4.20 can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -urN linux-2.4.19/CREDITS linux-2.4.20/CREDITS |--- linux-2.4.19/CREDITS Fri Aug 2 17:39:42 2002 |+++ linux-2.4.20/CREDITS Thu Nov 28 15:53:08 2002 -------------------------- thats what i get in the command line....what am i doing wrong? -thanks |
Do you have a patch for *mdk kernel? Mandrake kernel isn't a pure 2.4.19 one, there are some patches applied, so it may not work with a patch designed for 2.4.19. Try with a full 2.4.20 source: http://www.kernel.org/pub/linux/kern...2.4.20.tar.bz2 (26MB).
|
Speaking of that.
Is there any info of what patches are used for stock kernels for RH, Mandy, SuSE maybe......? I know kernel with Slackware comes as is on kernel.org |
okay so the guide only talks about adding patches how is it different with replacing the entire kernel? or can you point me to a guide for doing that
|
Not very different. You just download the full source, save it in /usr/losal/src/linux-2.4.20, for example and you just leave out the '2.4 Install the Kernel Sources' section from your guide. The rest is the same.
|
thanks a lot
|
All times are GMT -5. The time now is 01:26 PM. |