Subject: Re: [vserver] build a centos6 guest inkl. mini howto
From: Gordan Bobic <gordan@bobich.net>
Date: Wed, 07 Mar 2012 15:35:19 +0000

Roderick A. Anderson wrote:
> 
> 
> Roman Pretory wrote:
>>
>> On Wed, 29 Feb 2012 08:37:41 -0800, "Roderick A. Anderson"
>> <raanders42@gmail.com> wrote:
>>> Roman Pretory wrote:
>>>> On Mon, 27 Feb 2012 15:42:47 +0100 (CET), "Daniel Hokka Zakrisson"
>>>> <daniel@hozac.com> wrote:
>>>>> Roman Pretory wrote:
>>>>>> Hello all,
>>>>>>
>>>>>> I know I ask allready, a time ago,but mayme now a have more luck.
>>>>>>
>>>>>> I search for a full howdo to buid a Centos 6.x Guest on a Centos 6
>>>>>> Hostsystem.
>>>>>>
>>>>>> All build method on http://linux-vserver.org/Building_Guest_Systems
>>> seem
>>>>>> not to bring out a running guest.
>>>>>> I have seen there are troubles with the upstart style.. are the fixed
>>>>>> allready?
>>>>> vserver sl6 build -m yum -- -d sl6
>>>>> works fine here. How does it not work for you?
>>>>>
>>>>>
>>>> Hello Daniel
>>>>
>>>> Thanks that works.
>>> Roman,
>>>
>>> Is your host system a CentOS 6?  If so did you build the kernel and 
>>> utils from source?
>>>
>>>
>>> TIA,
>>> Rod
>>
>> Hello Rod
>>
>> Yes it's  a Centos 6.2
>> Installed by this howto:
>>
>> http://wiki.centos.org/HowTos/Virtualization/Vserver
>>
>> only change:
>>
>> baseurl=http://rpm.hozac.com/dhozac/centos/$releasever/vserver/$basearch 
>> to
>> baseurl=http://rpm.hozac.com/dhozac/rhel/$releasever/vserver/$basearch
> 
> I'm still rounding up TUITS to do and CentOS 6 install! :-(
> 
> One more question?  What did you do about YUM?  Is it still necessary 
> build a patched version or did RPM community (RH?) and the YUM community 
> work out their differences and the stock YUM will work with LV?

Last time I checked you still had to patch and build your own. Every 
time I tried, I had to patch manually due to minor difference between 
the upstream yum and the provided patch, but it isn't difficult, it is 
quite obvious why the rejected hunks get rejected and how to apply the 
rejected hunk correctly.

Gordan