On Tue, 19 Dec 2000, Michael Jonsson wrote:
>
> then i try to patch the linux kernel i get this errer..... (the linux system
> I have is a RedHat 7.0)
>
>
> *************************************************************************************************
> [root@server linux]# patch -p1 < 11272000XFSBETA-4.patch
> patching..................................................
> patching file cmd/xfs/tools/README
> patching file cmd/xfs/tools/auto-qa
> patching file cmd/xfs/tools/fixcopyright
> patching file cmd/xfs/tools/hunt-gpl
> patching file cmd/xfs/tools/srcdiff
> patching file cmd/xfs/tools/srctest
> can't find file to patch at input line 288641
> Perhaps you used the wrong -p or --strip option?
> The text leading up to this was:
> --------------------------
> |diff -rNu linux-2.4-test5/linux/Documentation/00-INDEX
> beta2.4/linux/Documentat
> ion/00-INDEX
> |--- linux-2.4-test5/linux/Documentation/00-INDEX Tue Feb 8 13:28:31
> 2000
> |+++ beta2.4/linux/Documentation/00-INDEX Thu Jun 8 20:03:55 2000
> --------------------------
> File to patch:
> ***************************************************************************************************
I have seen this error before, but have taken the easy way out.
The INDEX file should not be that important but I don't know if the tree
they compare against is fully clean.
I use the cvs update method. (costs more bandwith (about 25MB total)
You can check out the stable cvs tree with
export CVSROOT=':pserver:cvs@xxxxxxxxxxx:/cvs'
cvs login (password cvs)
cvs -z3 checkout linux-2.4-xfs-beta
Put it in a shellscript if you like to update often. (replace checkout
with update)
Bye
Seth
>
> Best regard
> Bichael Jonsson
>
>
|