lkml.org 
[lkml]   [2001]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectPossible README patch
Date
Hi

Information in the README file says that when patching, the -p0 option is
used with patch (eg tar xvzf <patch>.tar.gz | patch -p0). However I have
never got this to work as I always get something like "can't find file to
patch at line 5". However, replacing -p0 with -p1 seems to work perfectly.
Maybe the penguin doesn't like me, but still, whenever I've downloaded
patches I had to say -p1, not -p0...

anyone else have to do this? If so, here's a wee patch for it.. (bear with
me, it's my first one :)

Duncan Gauld
dunkers@blueyonder.co.uk
----------------------------------------------------------------

-- README Sat May 5 09:51:36 2001
+++ README Sat May 5 09:52:24 2001
@@ -66,10 +66,10 @@
install by patching, get all the newer patch files, enter the
directory in which you unpacked the kernel source and execute:

- gzip -cd patchXX.gz | patch -p0
+ gzip -cd patchXX.gz | patch -p1

or
- bzip2 -dc patchXX.bz2 | patch -p0
+ bzip2 -dc patchXX.bz2 | patch -p1

(repeat xx for all versions bigger than the version of your current
source tree, _in_order_) and you should be ok. You may want to remove
-
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/
\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.055 / U:2.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site