Click to See Complete Forum and Search --> : patch command


Tyr-7BE
03-30-2001, 06:08 PM
I do have the patch command on my computer, but when I try to patch anything, nothing happens. Example: I just downloaded the kernel 2.4.3 patch. I typed in exactly what it said to type: "patch -p0 patch-2.4.3". The cursor moved to the next line and sat there with its thumb up its arse. Any idea on how to make this work?

[GoRN]
03-30-2001, 06:10 PM
patch reads from standard in

try:
patch -p0 < patch-2.4.3

in the /usr/src dir
if your in the linux source dir try patch -p1 < patch-2.4.3

also you can leave it bzip2 or gziped with:
bzcat patch-2.4.3.bz2 | patch -p0
or
zcat patch-2.4.3.gz | patch -p0

good luck