Re: structure of ftp.kernel.org, patch dirs

Muli Ben-Yehuda (mulix@actcom.co.il)
Wed, 24 Apr 2002 09:27:45 +0300


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/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/