Applying a patch

David Bandel david.bandel
Sat Jun 9 15:48:32 PDT 2007


On 6/8/07, Man-wai Chang <mwchang at i-cable.com> wrote:
>
> I am trying to apply the patch-2.6.21.4 onto the 2.6.21.3 trunk, and got
> the following screen:
>
> root at www:/usr/src# cd linux-2*
> root at www:/usr/src/linux-2.6.21.3# bunzip2 -dck /usr/sr/tar/patch* |
> patch -p1
> bunzip2: Can't open input file /usr/sr/tar/patch*: No such file or
> directory.

rather obvious:  /usr/sr/tar/patch doesn't exist.  Perhaps it should
be /usr/src/tar/patch*?

> root at www:/usr/src/linux-2.6.21.3# bunzip2 -dck /usr/src/tar/patch* |
> patch -p1
> patching file Makefile
> Hunk #1 FAILED at 1.
> 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
> patching file arch/arm/kernel/traps.c
> Reversed (or previously applied) patch detected!  Assume -R? [n]
>

No input file -- patch is confused.

> What am I supposed to do?

Make sure your path and patch filename is correct.

David A. Bandel
-- 
Focus on the dream, not the competition.
            - Nemesis Air Racing Team motto



More information about the Linux-users mailing list