kernel patch
i downloaded kernel2.4.21 patch.i have not compiled any kernel patches yet but compiled complete kernel.so iam a kinda newbie to kernel patch.i have copied patch-2.4.21.bz2 to current kernel source directory(kenel 2.4.20-8).then i ran "bzip2 -dc patch-2.4.21.bz2 | patch -p0" but it says
"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.20/CREDITS linux-2.4.21/CREDITS |--- linux-2.4.20/CREDITS 2002-11-28 15:53:08.000000000 -0800 |+++ linux-2.4.21/CREDITS 2003-06-13 07:51:29.000000000 -0700 -------------------------- File to patch:" what is that i have to do later or what's the file name should i give?i need the exact solution plz help me.thanks..... |
Try this command, you might have more luck:
bzip2 -dc patch-2.4.21.bz2 | patch -Np1 |
All times are GMT -5. The time now is 08:59 AM. |