how to speed up mock?

Clark Williams clark.williams at gmail.com
Sun Apr 3 14:18:17 UTC 2011


On Sun, 03 Apr 2011 16:50:18 +0300
Ville Skyttä <ville.skytta at iki.fi> wrote:
> Most commands unlock the build root at end and for them there is a
> "unlock buildroot" state change log entry there, but for some reason for
> example build and buildsrpm do not do that.  I just added an "end" state
> change in mock git so an end marker is logged for all commands.
> 

Thanks, I have no idea why we didn't have an 'end' state. 

I took a quick look at whether it would be easy to add state duration
calculation to the code but decided that doing so would add extra code
for not much gain. It's easy enough to calculate it from the log
output. 

Clark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/buildsys/attachments/20110403/2edd6816/attachment.bin 


More information about the buildsys mailing list