Re: Possible README patch

From: Russell King (rmk@arm.linux.org.uk)
Date: Sat May 05 2001 - 04:21:33 EST


On Sat, May 05, 2001 at 10:04:01AM -0400, Duncan Gauld wrote:
> Information in the README file says that when patching, the -p0 option is
> used with patch (eg tar xvzf <patch>.tar.gz | patch -p0).

You probably have done:

gzip -dc linux-2.4.XX.tar.gz | tar zvf -
cd linux
gzip -dc patchXX.gz | patch -p0

which will fail since the patch file specifies all files with a path
starting with 'linux/'. However, the instructions in the README are
for the following situation:

gzip -dc linux-2.4.XX.tar.gz | tar zvf -
gzip -dc patchXX.gz | patch -p0

which may work, but note that patch can be a little tempremental about
the filenames it chooses from the patch file. The absolute safest way
to apply a patch is:

gzip -dc linux-2.4.XX.tar.gz | tar zvf -
cd linux
gzip -dc patchXX.gz | patch -p1

--
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:21 EST