Posted on

Using mock to build jwhois and grep

I installed mock and ran the command to build my package in mock. On the first run, the “Start:yum update” step took so long that I though it was stuck and didn’t record the actual time, but it took at least 10-15 minutes I think. On the next runs everything was very quick.

Jwhois:
was stuck for a while on unpacking root cashe, then on start:yum update completed in 3 min 6 s . The second time yum update was quick and completed in 1 min 10 s.

grep
1st time. was on unpacking root cache for a while, then on start:yum update 1 min 26 s

 

I think mock is a great tool for building packages in an isolated envorinment and creating that environment.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s