Re: [Vserver] patch a patched kernel

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Tue 06 Jun 2006 - 15:13:47 BST
Message-ID: <20060606141347.GB14843@MAIL.13thfloor.at>

On Tue, Jun 06, 2006 at 04:10:56AM -0000, Varun Pabrai wrote:
>
> Hello,
>
> My system is on CentOS4.3.
>
> On fresh install my kernel was CentOS-4 i386 (2.6.9-34.EL) .
>
> On upgrade it was CentOS (2.6.9-34.0.1.EL).
>
> I used :
>
> kernel [2.6.14.3]
>
> vserver [2.01]
>
> util-vserver [0.30.210]
>
> to build a new vserver kernel - CentOS (2.6.14.3-vs2.0.1)
>
> Now I want to use the latest :
>
> kernel [2.6.16.17]
>
> vserver [2.02-rc21]
>
> util-vserver [0.30.210]
>
> I had already patched the kernel by booting
> into - CentOS (2.6.9-34.0.1.EL).
>
> How to build a new vserver kernel using the
> latest builds ?

usually you get the latest kernel (2.6.16.20)
and the latest patches (in this case 2.02-rc22)
and simply apply that, then copy the .config
file from your existing kernel build and do
'make oldconfig' followed by 'make', which will
build the new kernel for you ...

> Is it possible to unpatch the kernel ?

yes, patch supports -R, which reverses a given
patch

best,
Herbert

> Thanks
>
> Varun
>
>
>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Tue Jun 6 15:20:03 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 06 Jun 2006 - 15:20:08 BST by hypermail 2.1.8