On Sat, Jun 19, 2004 at 01:59:56AM -0700, Nathan England wrote:
> Is there any "official" way of patching kernels?
No, the patches are just standard diffs that you apply with the patch
command. Generally, you can apply a patch like this:
user@host:/usr/src/linux$ zcat ../patch-file-name.gz |patch -p1 -s
"zcat" uncompresses the gzipped file and sends it to standard output.
Then it's send to patch(1)'s standard input. "-p1" means to skip one
directory level at the beginning of the filenames -- if you look at the
file using zless, you'll see why. And I dislike seeing the filenames
scroll by; I prefer only being told if there's an error, which is what
the "-s" ("silent") option does.
--
Bill Jonas * bill@billjonas.com * http://www.billjonas.com/
"It's a dangerous business, Frodo, going out your front door. You step
into the Road, and if you don't keep your feet, there is no knowing
where you might be swept off to." -- Bilbo Baggins