Re: 2.6.14.5 to 2.6.15 patch

From: Jesper Juhl
Date: Wed Jan 04 2006 - 16:16:47 EST


On 1/4/06, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> On Wed, 2006-01-04 at 17:56 +0000, Nick Warne wrote:
> > On Wednesday 04 January 2006 17:51, Randy.Dunlap wrote:
> >
> > >
> > > but the incremental patches do appear to be in
> > > http://www.kernel.org/pub/linux/kernel/v2.6/incr/
> > >
> > > who generates these? are they automated?
> >
> > OMG - am I the only person in the world to be H4><0R3D from kernel.org...
>
> I still find ketchup the easiest solution:
>
> Here's a cut and paste of what I did. The commands that I did was as

14 steps?

Surely a simple 5 step procedure is easier :

$ cd ~/linux-2.6.14.5 # change into the kernel source dir
$ patch -p1 -R < ../patch-2.6.14.5 # revert the 2.6.14.5 patch
$ patch -p1 < ../patch-2.6.15 # apply the new 2.6.15 patch
$ cd ..
$ mv linux-2.6.14.5 linux-2.6.15 # rename the kernel source dir

That's assuming you have already gunzip'ed the patch, but even if you
have not it's still just as easy :

$ cd ~/linux-2.6.14.5 # change into the kernel source dir
$ zcat ../patch-2.6.14.5.gz | patch -p1 -R # revert the 2.6.14.5 patch
$ zcat ../patch-2.6.15.gz | patch -p1 # apply the new 2.6.15 patch
$ cd ..
$ mv linux-2.6.14.5 linux-2.6.15 # rename the kernel source dir


No need to jump through 14 hoops.

And it's even nicely documented.


--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/