how to speed up mock

Farkas Levente lfarkas at lfarkas.org
Tue May 29 23:03:30 UTC 2012


hi,
i've to ask it again what i already asked a few times. is there any way
to speed up mock build?
here is a simple example when i build gstreamer-plugins-bad-free on
rhel-6.2:
-----------------------
2012-05-30 00:45:24,367 - Mock Version: 1.1.22
2012-05-30 00:45:24,377 - State Changed: unpacking root cache
2012-05-30 00:45:27,610 - State Changed: cleaning yum metadata
2012-05-30 00:45:27,639 - State Changed: running yum
2012-05-30 00:45:30,914 - State Changed: unlock buildroot
2012-05-30 00:45:31,026 - State Changed: setup
2012-05-30 00:50:09,980 - State Changed: build
2012-05-30 00:52:34,094 - State Changed: end
-----------------------
as you can see it takes about 5 minutes to setup the buildroot
environment, while it takes 2.5 minutes to build it. so it's still 2
times more the extra stuff compared to the build. even in a case of a
'long' build package (some other package build less then a minutes).

disk space and cache size is not a problem.

any kind of tipp would be welcome.
thanks in advance.
regards.

-- 
  Levente                               "Si vis pacem para bellum!"


More information about the buildsys mailing list