[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Patching and unpatching



On Tue, Oct 23, 2001 at 12:14:50AM +0200, Raffaele Sandrini wrote:

> If i want the ac version of the 2.4.12 kernel i have to download it and patch
> it with the ac patch.

Correct.

> How is it if the new stable is 2.4.13? I can't just take the normal linux
> patch because that is assuming that i use the normal kernel. I can't use the
> ac patch because its assuming i use the standard kernel.

Correct.

> Do i first have to "unpatch" the old ac patch, patch it with the new linus
> patch and then repatch it with the new ac patch?

Exactly. You can unpatch your 2.4.12-ac by using "patch" they way you
usually do, but with adding "-R" (stands for Reverse) to the command
line.

Example:
$ pwd
/usr/local/src/linux
$ zcat patch-2.4.12-ac5.gz | patch -R -p1

But if you always want to have Alan Cox's tree, I would recommend
<http://www.bzimage.org>. They always publish incremental AC patches
(eg. 2.4.12-ac1 -> 2.4.12-ac2), even between different versions of the
Linus tree. This way, when 2.4.13-ac1 will be released, you'll have to
patch 2.4.12 to the latest AC version and then you can download a
patch that will upgrade 2.4.12-ac5 (or whatever will be the last AC
patch for .12) to 2.4.13-ac1.

Regards,

-- 
BALI, Andra's                                  GPG keyID: 78560E1C
drewie@bigfoot.com     bali@debian.org     andras.bali@stud.bke.hu



Reply to: