OpenVZ Forum


Home » Mailing lists » Users » Patch to turn a centos-4 metadata into a centos-5 version
Re: Patch to turn a centos-4 metadata into a centos-5 version [message #25655 is a reply to message #25425] Sun, 06 January 2008 04:39 Go to previous messageGo to previous message
Chris Turan is currently offline  Chris Turan
Messages: 6
Registered: December 2007
Junior Member
Has anyone had any luck with template I provided earlier?  A copy of my 
earlier e-mail is below.

-Chris

Chris Turan wrote:
> I've recently put together this patch to convert a vanilla centos-4 
> metadata into one for centos-5.  Template works flawlessly for me.
> 
> Instructions to apply the patch:
> 1) wget 
> http://download.openvz.org/template/metadata/centos-4/src/vztmpl-centos-4.src.tar.bz2 
> 
> 2) tar xvjf vztmpl-centos-4.src.tar.bz2
> 3) cd centos-4
> 4) patch -p1 < /path/to/attached/centos-5-metadata.diff
> 5) yum install createrepo
> 6) make clean
> 7) make rpms
> 
> If your arch is i386, the metadata rpm should now be located in:
> /usr/src/redhat/RPMS/i386/vztmpl-centos-5-2.0-2.i386.rpm
> 
> 
> Notes:
> - "kernel = 2.6.18" is needed to fix the "Error: initscripts conflicts 
> with kernel < 2.6.12"
> - udevd must be disabled when the vps starts up
> 
> 
> I'd very much be interested in seeing this become an official metadata 
> template on openvz.org.  I'd like to get centos-5 out of the user 
> contrib area.
> 
> -Chris
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debuginfo-package for kernel-ovz
Next Topic: time wait bucket table overflow
Goto Forum:
  


Current Time: Tue Sep 09 13:38:38 GMT 2025

Total time taken to generate the page: 0.08642 seconds