Seneca wrote:
On Tue, Dec 10, 2002 at 01:24:52AM -0700, eric lin wrote:I follow the Readme in 2.5.50, do gzip -cd patch-2.5.50-ac1.gz | patch -p0 but then it response 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.50/arch/alpha/defconfig linux.50-ac1/arch/alpha/defconfig|--- linux.50/arch/alpha/defconfig 2002-11-25 15:11:47.000000000 +0000 |+++ linux.50-ac1/arch/alpha/defconfig 2002-12-03 20:54:30.000000000 +0000 -------------------------- File to patch: then how should I response? I ever try to put again atch-2.5.50-ac1.gzWhat is the name of the directory containing your kernel source? For the patch to work without typing in every filename, you could rename the source's directory to linux.50
I download as enduser for example to /home/fsshl linux-2.5.50.tar.gz then I tar xfvz linux-2.5.50.tar.gz it generate a directory linux-2.5.50 in my /home/fsshlthen I follow README in linux-2.5.50 to do unpatch the another downloaded patch-2.5.50-ac1.gz from kernel.org
www:/home/fsshl# gzip -cd patch-2.5.50-ac1.gz | 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 -u --new-file --recursive --exclude-from /usr/src/exclude linux.50/arch/alpha/defconfig linux.50-ac1/arch/alpha/defconfig
|--- linux.50/arch/alpha/defconfig 2002-11-25 15:11:47.000000000 +0000 |+++ linux.50-ac1/arch/alpha/defconfig 2002-12-03 20:54:30.000000000 +0000 -------------------------- File to patch: so the name of directory containing my kernel source should be /home/fsshl in the promt of File to patch: I tried both patch-2.5.50-ac1.gz and linux-2.5.50.tar.gz all not work the line gzip -cd patch-2.5.50-ac1.gz | patch -p1 in that readme doc should do gzip -cd patch-2.5.50-ac1.gz | patch -p0 but someone in linux-kernel@vger.kernel.org told me eric lin wrote:
Dear Andrew: I follow the Readme in 2.5.50, do gzip -cd patch-2.5.50-ac1.gz | patch -p0
You want `patch -p1'. what ever both all not work. like to see any advancer's opinion highly apprecaite your help sincere Eric www.linuxspice.com linux pc for sale