Re: [PATCH] [TRIVIAL] README: patch -p1, remove make dep

From: Tim Schmielau (tim@physik3.uni-rostock.de)
Date: Tue Feb 18 2003 - 16:49:01 EST


> Either I am doing all wrong, but I think you need to use -p1 to apply
> patches. Make dep is unnecessary now.

No, you do it right;-) The instructions seem to be a leftover from the
time when Linus named the kernel directory linux/ (as opposed to
linux-2.5.xx).

> --- linux-2.5.62/README.orig 2003-02-18 20:27:00.000000000 +0200
> +++ linux-2.5.62/README 2003-02-18 20:27:20.000000000 +0200
> @@ -69,10 +69,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

However, your patch gets us only half-way to correct instructions,
since for 'patch -p1' one also needs to cd into the kernel directory.
E.g., something like

     install by patching, get all the newer patch files, enter the
     top level directory of the kernel source (the one named
     linux-2.xx.yy) and execute:

               gzip -cd ../patchXX.gz | patch -p1
     or
               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. Don't forget to rename
     the kernel directory to linux-2.xx.zz where zz is the number of the
     lates patch you applied.

may be better?

Tim

-
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 : Sun Feb 23 2003 - 22:00:23 EST