Hallo LUG,
ich bin gerade dabei, mir aus linux-2.6.0 ein linux-2.6.5 zu patchen. Ich habe aus den Groessen der patch-2.6.[1-5].bz2 geschlossen, dass ich die immer nacheinander anwenden soll. Nun habe ich linux-2.6.0.tar.bz2 entpackt, und das patchen will nicht recht gelingen. Ich beginne mit patch-2.6.1:
# cd /usr/src/linux-2.6.0/ # patch -p0 < ~/patch-2.6.1 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 -Nru a/CREDITS b/CREDITS |--- a/CREDITS Thu Jan 8 23:00:24 2004 |+++ b/CREDITS Thu Jan 8 23:00:24 2004 -------------------------- File to patch:
Dabei ist die Datei eindeutig da:
# ls -l CREDITS -rw-r--r-- 1 root root 85070 Jul 19 18:34 CREDITS
Wenn ich ihm dann einfach 'CREDITS' sage:
# patch -p0 < ~/patch-2.6.1 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 -Nru a/CREDITS b/CREDITS |--- a/CREDITS Thu Jan 8 23:00:24 2004 |+++ b/CREDITS Thu Jan 8 23:00:24 2004 -------------------------- File to patch: CREDITS patching file CREDITS can't find file to patch at input line 36 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -Nru a/Documentation/Changes b/Documentation/Changes |--- a/Documentation/Changes Thu Jan 8 23:00:24 2004 |+++ b/Documentation/Changes Thu Jan 8 23:00:24 2004 -------------------------- File to patch:
scheint er das anstandslos zu machen - kommt aber auch nicht viel weiter. Wo liegt das Problem?
Danke, Jonas