2002-04-24 03:00:47

by Russ Fink

[permalink] [raw]
Subject: structure of ftp.kernel.org, patch dirs

Hello,

I'm a linux vet, but am relatively new to kernel compiling. I'm trying to
trace a nasty bug, and I wish to build incremental kernels of the 2.2 tree.
I'm looking at ftp.kernel.org in the v2.2/testing directory, and have a
question about the directory setup.

Can someone tell me, what is the difference between patches in the "incr"
directory and patches in the "old" directory?

In pub/linux/kernel/v2.2/testing/incr/ I see files such as:
patch-2.2.19-pre1-pre2.gz

whereas in pub/linux/kernel/v2.2/testing/old/ I see:
patch-2.2.19-pre2.gz

My objective is to start with the latest 2.2.17 sources and patch it up to
specific levels, e.g., 2.2.18-pre3. Do I use patches in "incr", or patches
in "old"?

I'm guessing that "old" patches will take me from 2.2.17 to version
2.2.18-pre-"N" without needing to go through the previous N-1 patches first,
but that patches in "incr" will only take me from one patch level to the
next higher level (from 1 to 2, etc). They appear to be smaller patch
files. Is this right?

Thanks for your time,
Russ Fink


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


2002-04-24 06:30:22

by Muli Ben-Yehuda

[permalink] [raw]
Subject: Re: structure of ftp.kernel.org, patch dirs

On Thu, Apr 18, 2002 at 01:10:29PM -0400, Russ Fink wrote:
> Hello,
>
> I'm a linux vet, but am relatively new to kernel compiling. I'm trying to
> trace a nasty bug, and I wish to build incremental kernels of the 2.2 tree.
> I'm looking at ftp.kernel.org in the v2.2/testing directory, and have a
> question about the directory setup.
>
> Can someone tell me, what is the difference between patches in the "incr"
> directory and patches in the "old" directory?
>
> In pub/linux/kernel/v2.2/testing/incr/ I see files such as:
> patch-2.2.19-pre1-pre2.gz

That would be the patch that is the diff between 2.2.19-pre1 and
2.2.19-pre2. If you already have a tree with 2.2.19-pre1, you could
apply this patch and get a tree which is 2.2.19-pre2.

> whereas in pub/linux/kernel/v2.2/testing/old/ I see:
> patch-2.2.19-pre2.gz

That would be a patch between 2.2.19 and 2.2.19-pre2. If you had a
pristine tree with 2.2.19, you would apply this one and get a tree
with 2.2.19-pre2.

> My objective is to start with the latest 2.2.17 sources and patch it up to
> specific levels, e.g., 2.2.18-pre3. Do I use patches in "incr", or patches
> in "old"?

If you want to go 17->18-prex directly, use the specific patch in
'old'. If you want to go through each pre in order, use those in
'incr'.

> I'm guessing that "old" patches will take me from 2.2.17 to version
> 2.2.18-pre-"N" without needing to go through the previous N-1 patches first,
> but that patches in "incr" will only take me from one patch level to the
> next higher level (from 1 to 2, etc). They appear to be smaller patch
> files. Is this right?

Sounds so.
--
The ill-formed Orange
Fails to satisfy the eye: http://vipe.technion.ac.il/~mulix/
Segmentation fault. http://syscalltrack.sf.net/