On Fri, 10 Mar 2000, Brenner Stefan wrote:
> Hi,
>
> This is not a question related to Linux Mandrake but I hope someone on this list can
>help me.
>
> I have some problems with applying a pre-patch from Alan Cox to Kernel 2.2.14. I
>downloaded the source tarball. Unpacked it in
> /usr/src. Now I wanted to apply the pre-patch-2.2.14-18. Is this the right one or
>are all pre-patches already included in 2.2.14 ?
Yes wrong patch, applying them will attempt to downgrade your
kernel. Maybe your looking for the 2.2.15 pre patchs. but anyway..
> what I did in /usr/src is:
you should be in /usr/src/linux
> # bunzip -dc pre-patch-2.2.14-18.bz2 | patch -p0
you should use -p1 not -p0
also you can save some typeing by useing 'bzcat' instead of 'bunzip -dc'
> 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 -u --new-file --recursive -- exclude-from ../exclude linux.vanilla/CREDITS
>linux.14p18/CREDITS
> | --- linux.vanilla/CREDITS snap
> | +++ linux.14p18/CREDITS snap
>
>
> Do I have do rename the /usr/src/linux directory to /usr/src/linux.vanilla ????
IIRC it's the +++ file its checking
> thanks for the help !
>
> ;-)))
> Stefan
>
--
MandrakeSoft http://www.mandrakesoft.com/
--Axalon