Subject: Re: [vserver] LV and CentOS 6
From: Gordan Bobic <gordan@bobich.net>
Date: Wed, 31 Aug 2011 11:22:28 +0100

 You will most likely have to install the src rpm, patch it (and some 
 patch porting is likely to be required - I've never seen it patch 
 cleanly out of the box yet on any Fedora/RedHat version), update the 
 spec file to apply the modified patch and rebuild the package.

 Gordan


 On Wed, 31 Aug 2011 11:17:59 +0100 (BST), "--[ UxBoD ]--" 
 <uxbod@splatnix.net> wrote:
> kernel and util-vserver installed okay on CentOS6. Is there an rpm
> for yum chroot or does one need to build from source ?
> --
> Thanks, Phil
>
> ----- Original Message -----
>> Daniel Hokka Zakrisson wrote:
>> > Roderick A. Anderson wrote:
>> >> Roderick A. Anderson wrote:
>> >>> Now that CentOS 6 is available and I have an opportunity build a
>> >>> system
>> >>> from scratch I was checking on options to do this.
>> >>>
>> >>> Nothing on the web site yet so I thought I'd look at Daniel's
>> >>> repo to
>> >>> see if he's found the tuits to build a new kernel and
>> >>> util-vserver*
>> >>> packages.  Problem is I can't reach the site.
>> >>>
>> >>> So this is a two for one:  Daniel, is rpm.hozac.com having
>> >>> problems?
>> >>>
>> >>> And has anyone taken, or planning on taking, the CentOS 6 
>> plunge?
>> >> Well I'm getting the pieces in place but have some questions.
>> >>
>> >> The plan:
>> >>
>> >>     1. Install CentOS 6 from the minimal CD/DVD.
>> >>     2. Update to the LV kernel from Daniel's repo.
>> >>
>> >> The questions:
>> >>
>> >>     1. The repo only has CentOS 4 and 5 listed.  What tricks do I
>> >>     have to
>> >>        use the repo for CentOS 6?  (Sorry Daniel if this is still
>> >>        a work
>> >>        in progress and I'm getting ahead of the game.)
>> >
>> > http://rpm.hozac.com/dhozac/rhel/6/vserver/
>> >
>> >>     2. Will the *el6* SRPMS work for CentOS 6?
>> >
>> > Depends on which ones you're talking about. The ones on the above
>> > URL,
>> > yes. The ones in the 5 repo? No.
>>
>> OK.  Do I need to munge the .repo file to point to the rhel 
>> directory
>> instead of the centos?
>>
>> >>     3. And what are the *dhz* packages -- mkinitrd and yum -- 
>> for?
>> >
>> > mkinitrd is to make the 2.6.32 kernel work on RHEL/CentOS 5. The
>> > provided
>> > mkinitrd doesn't know the correct module names etc. yum has the
>> > chroot
>> > patch applied which makes it work for building guests.
>>
>> Could explain why I've had failed install/updates.  Nothing critical
>> but
>> has kept me from moving forward.
>>
>> Do I need the mkinitrd package if I'm using your rhel6 RPMs and not
>> building the from SRPMs?
>>
>>
>> Rod
>> --
>>
>>