[lug] patch -p0 < pre-patch-2.2.18-24
D. Stimits
stimits at idcomm.com
Tue Dec 5 22:39:04 MST 2000
C Menzes wrote:
>
> hello again-
> when i try to apply the above patch to the kernel from within the
> directory /usr/src on my machine, i get the prompt for:
>
> 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 /usr/src/exclude
> linux.vanilla/CREDITS linux.18p24/CREDITS
> |--- linux.vanilla/CREDITS Sat Sep 9 18:42:31 2000
> |+++ linux.18p24/CREDITS Tue Nov 21 17:40:17 2000
> --------------------------
> File to patch:
>
> what should this field be supplied with?
>
> thanks! -cjm
>
The easy thing to do is simply cd into your /usr/src/linux/ directory,
which will probably be a sym link to /usr/src/linux-2.2.18/, and try in
order -p0, -p1, -p2, so on. The proper "-p?" depends on how it was
created.
More information about the LUG
mailing list