FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS Development

 
 
LinkBack Thread Tools
 
Old 10-28-2009, 08:50 AM
Karanbir Singh
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

On 10/27/2009 11:32 PM, Brian Schueler wrote:
> Mock 0.6.13 came out about when CentOS 5.1 was released. Sorry
> that I slept newer releases - (that sounds for me "why do you
> not developing for rawhide?")
>

yes, and 0.6.x is the only one we 'officially' support for CentOS3/4/5 -
none of the other newer releases work for and with CentOS - so keep that
in mind.

Were not fedora, and were not upstream for mock either. So keep that in
mind.

- KB
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 09:01 AM
Christoph Maser
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

Am Mittwoch, den 28.10.2009, 10:50 +0100 schrieb Karanbir Singh:
> On 10/27/2009 11:32 PM, Brian Schueler wrote:
> > Mock 0.6.13 came out about when CentOS 5.1 was released. Sorry
> > that I slept newer releases - (that sounds for me "why do you
> > not developing for rawhide?")
> >
>
> yes, and 0.6.x is the only one we 'officially' support for CentOS3/4/5 -
> none of the other newer releases work for and with CentOS - so keep that
> in mind.
>
> Were not fedora, and were not upstream for mock either. So keep that in
> mind.
>
> - KB

That was not my point of asking. I just wanted his patch to go into
upstream for future releases too.



financial.com AG

Munich head office/Hauptsitz München: Maria-Probst-Str. 19 | 80939 München | Germany
Frankfurt branch office/Niederlassung Frankfurt: Messeturm | Friedrich-Ebert-Anlage 49 | 60327 Frankfurt | Germany
Management board/Vorstand: Dr. Steffen Boehnert | Dr. Alexis Eisenhofer | Dr. Yann Samson | Matthias Wiederwach
Supervisory board/Aufsichtsrat: Dr. Dr. Ernst zur Linden (chairman/Vorsitzender)
Register court/Handelsregister: Munich – HRB 128 972 | Sales tax ID number/St.Nr.: DE205 370 553
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 09:15 AM
Karanbir Singh
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

On 10/27/2009 09:59 AM, Christoph Maser wrote:
> Cool thing, my idea was to use an lvm and snapshots, that could be even
> faster but noone wants to code that it seems

you can perhaps just script around mock to do the snapshots after an
init. Just remember to keep plenty of COW space for the snapshot so it
survives a large build run
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 09:27 AM
Karanbir Singh
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

On 10/27/2009 11:20 PM, Brian Schueler wrote:
> but what about the big database it carries around?
> Maybe el6 will be "kojied" rather than "mocked". The
> koji infrastructure is too overweight for my little
> pieces.

At the moment, not in CentOS-6. The problem I have now is that quite a
lot of the buildsystem state and policy is static to the machines its
running on and plague is just a wrapper around the real scripts. It
would be trivial to use something like rabitmq and actually completely
lose the plague setup around the buildsystem. something that is very
much on the cards. Its just a case of working out who is going to do the
stuff and how and what the scope of something like this might be.

However, the base common denominator is still mock and I dont see that
changing in the near future. Also, while we still support and work with
CentOS-3, its quite nice to see us support it. Is there anything in
mock-0.9 that results in a build output that is different from the one
that mock-0.6.x is able to produce ?

- KB

_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 11:11 AM
David Hrbáč
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

Karanbir Singh napsal(a):
> yes, and 0.6.x is the only one we 'officially' support for CentOS3/4/5 -
> none of the other newer releases work for and with CentOS - so keep that
> in mind.
>

Mock 0.9.x works pretty well on Centos and with Centos...
David Hrbáč
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 11:35 AM
Karanbir Singh
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

On 10/28/2009 12:11 PM, David Hrbáč wrote:
>> yes, and 0.6.x is the only one we 'officially' support for CentOS3/4/5 -
>> none of the other newer releases work for and with CentOS - so keep that
>> in mind.
>>
>
> Mock 0.9.x works pretty well on Centos and with Centos...

what ver of python / yum does it need to work with ?

- KB
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 01:32 PM
"Shad L. Lords"
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

Karanbir Singh wrote:
> On 10/28/2009 12:11 PM, David Hrbáč wrote:
>>> yes, and 0.6.x is the only one we 'officially' support for CentOS3/4/5 -
>>> none of the other newer releases work for and with CentOS - so keep that
>>> in mind.
>>>
>> Mock 0.9.x works pretty well on Centos and with Centos...
>
> what ver of python / yum does it need to work with ?

I just pull the mock from epel and use it on a stock COS5 box. There
are some dependencies but they can all be satisfied by epel as well.

[slords@b64-5 mock]$ rpm -q mock python yum
mock-0.9.14-2.el5
python-2.4.3-27.el5
yum-3.2.22-20.el5.centos


-Shad
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 02:24 PM
Karanbir Singh
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

On 10/28/2009 02:32 PM, Shad L. Lords wrote:
> I just pull the mock from epel and use it on a stock COS5 box. There
> are some dependencies but they can all be satisfied by epel as well.
>
> [slords@b64-5 mock]$ rpm -q mock python yum
> mock-0.9.14-2.el5
> python-2.4.3-27.el5
> yum-3.2.22-20.el5.centos

how about on CentOS-3 ?

- KB
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 02:31 PM
"Shad L. Lords"
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

Karanbir Singh wrote:
> On 10/28/2009 02:32 PM, Shad L. Lords wrote:
>> I just pull the mock from epel and use it on a stock COS5 box. There
>> are some dependencies but they can all be satisfied by epel as well.
>>
>> [slords@b64-5 mock]$ rpm -q mock python yum
>> mock-0.9.14-2.el5
>> python-2.4.3-27.el5
>> yum-3.2.22-20.el5.centos
>
> how about on CentOS-3 ?

Why would you need to run it on cos3? You just need to create a config
file that populates a cos3 build env.

-Shad
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 
Old 10-28-2009, 03:55 PM
Karanbir Singh
 
Default Mock patch speeds up 'mock init' to 5 Seconds from cache (linked, rsync'd)

On 10/28/2009 03:31 PM, Shad L. Lords wrote:
> Why would you need to run it on cos3? You just need to create a config
> file that populates a cos3 build env.

we have buildservers running across c3/c4/c5 - and I know atleast a
couple of people who are in the same situation.

- KB
_______________________________________________
CentOS-devel mailing list
CentOS-devel@centos.org
http://lists.centos.org/mailman/listinfo/centos-devel
 

Thread Tools




All times are GMT. The time now is 03:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org