Re: Kernel patch


Subject: Re: Kernel patch
From: Mike Tibor (tibor@lib.uaa.alaska.edu)
Date: Wed Oct 24 2001 - 10:46:55 AKDT


On Wed, 24 Oct 2001, Greg Madden wrote:

> Greg Madden wrote:
> >
> > I am trying to patch kernel source with ac patches. There are 12
> > patches for the 2.4.10 source. Do later patches contain previous patches
> > or do you need to apply all of them. I can apply variuos individual
> > patches okay,(to clean source) but trying to apply a consecutive patch
> > fails.
> >
> > TIA
> > --
> > Greg Madden
>
> There are 'incremental' & 'full' patches. Cool :)
>
> http://www.bzimage.org/

When I was tracking the ac patches on my alpha pretty closely, here was my
routine:

bzcat linux-2.2.x.tar.bz2 | tar xf -
mv linux linux-2.2.x
cd linux-2.2.x
bzcat ../patch-2.2.x-ac12.bz2 | patch -p1
[make yadayadayada]

Then when a new ac patch came out,

cd linux-2.2.x
make clean
bzcat ../patch-2.2.x-ac12.bz2 | patch -R -p1 # reverses old patch
bzcat ../patch-2.2.x-ac13.bz2 | patch -p1
[make yadayadayada]

You can do it either way (Alan's patches or the incremental ones), I'd
just gotten into the habit of doing like I show above.

Mike

-- 
Mike Tibor         Univ. of Alaska Anchorage    (907) 786-1001 voice
Network Technician     Consortium Library         (907) 786-6050 fax
tibor@lib.uaa.alaska.edu       http://www.lib.uaa.alaska.edu/~tibor/
http://www.lib.uaa.alaska.edu/~tibor/pgpkey  for PGP public key



This archive was generated by hypermail 2a23 : Wed Oct 24 2001 - 10:46:57 AKDT