make errors
Denys Vlasenko
vda.linux at googlemail.com
Tue Dec 21 05:33:39 UTC 2010
On Tuesday 21 December 2010 03:05, Denys Vlasenko wrote:
> > > This should work:
> > >
> > > cd /path/to/busybox-1.18.0
> > > cat /path/to/patches/*.patch | patch -p1
> > >
> > >
> > Thanks for the refresher. :) Here's what I'm getting:
> >
> > $ ls -1
> > busybox-1.18.0/
> > busybox-1.18.0-buildsys.patch
> > busybox-1.18.0-chat.patch
> > busybox-1.18.0-hush.patch
> > busybox-1.18.0-runsvdir.patch
> > busybox-1.18.0-sha.patch
> > busybox-1.18.0.tar.bz2
> >
> > $ cat *.patch | patch -p1
> > 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 -urpN busybox-1.18.0/Config.in busybox-1.18.0-buildsys/Config.in
> > |--- busybox-1.18.0/Config.in 2010-11-22 21:43:21.000000000 +0100
> > |+++ busybox-1.18.0-buildsys/Config.in 2010-12-05 23:14:04.000000000 +0100
> > --------------------------
> > File to patch: ^C
> >
> > $ cd busybox-1.18.0
> > busybox-1.18.0$ cat *.patch | patch -p1
> > patching file Config.in
> > Reversed (or previously applied) patch detected! Assume -R? [n]
> >
> > Should I assume they're reversed?
>
> No, you are using wrong patches in your last command:
> when you run "cat *.patch | patch -p1"
> IN busybox-1.18.0 directory, you are using *.patch
> files IN busybox-1.18.0, not on PARENT directpory.
>
> You need to use "cat ../*.patch | patch -p1"
Alternatively, grab 1.18.1 (it was released today).
--
vda
More information about the busybox
mailing list