[oclug] More Kernel Patches
Gorm Jensen
Gorm.Jensen at magma.ca
Sat Mar 10 12:58:59 EST 2001
With cwd = /usr/src and a patchfile existing in /us/src, I tried to apply a
kernel patch using the command `bzcat patchfile | patch -p0`
The command produced approx 3000 lines of text from which the following is
extracted:
# ...start extract
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.19p1/CREDITS
|--- linux.vanilla/CREDITS Mon Dec 11 22:12:31 2000
|+++ linux.19p1/CREDITS Wed Dec 13 21:50:25 2000
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
2 out of 2 hunks ignored
# ...... end extract
The 4th line in each section of the patch file is similar to "@@ -23,6
+23,12 @@" and there is nothing resembling a file name anywhere near the 4th
line.
What must be done to apply the patch?
More information about the OCLUG
mailing list