lkml.org 
[lkml]   [2003]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] [TRIVIAL] README: patch -p1, remove make dep
> 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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.060 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site