[ELGIS] Getting started with mock..

Tyler Mitchell tmitchell at osgeo.org
Fri Nov 11 02:46:35 EST 2011


FYI - I just hardcoded in a baseurl that I knew worked and am running fine, but would
still like to fix this is possible so I can use mirrorlists like a normal person ;-)

Tyler

On 2011-11-10, at 11:38 PM, Tyler Mitchell wrote:

> Almost got it going - when mock runs yum and tries to grab from a mirror, it's not putting in
> the right (any!) $releasever, so the PYCURL attempt always fails.  In debug mode I can
> clearly see the repo URL from mirrorlist tries is something like:
> 
> ..../pub/linux/scientific-linux/%24releasever/x86_64/....
> 
> I've manually tweaked that url and seems fine.  I might as well learn how to fix this
> before moving on - any tips?
> 
> I'll figure it out after sending this email, so sending quickly ;-)
> 
> Tyler
> 
> On 2011-11-10, at 2:30 PM, Volker Fröhlich wrote:
> 
>> Ah, I didn't notice that special configuration before.
>> 
>> Looking at this file, it seems, mirrors are used for the centos-updates repo 
>> and epel. But besides that, mock also uses a package cache.
>> 
>> https://projects.argeo.org/elgis/svn/factory/trunk/modules/org.argeo.elgis.rpmfactory/files/etc/mock/elgis-5-
>> stable-x86_64.cfg
>> 
>> Volker
>> 
>> Am Donnerstag, 10. November 2011, 23:05:56 schrieb Tyler Mitchell:
>>> On 2011-11-10, at 1:57 PM, Volker Fröhlich wrote:
>>>> Do you have a mirrorlist in the configuration file /etc/mock/yourtarget-
>>>> arch.cfg?
>>> 
>>> I was using the elgis 6 testing config mentioned in earlier
>>> post.  Should I have tweaked it maybe?
>>> 
>>> Is it just me or is mock poorly documented? ;-)
>>> 
>>> Tyler
>> 
> 
> _______________________________________________
> el mailing list
> el at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/el



More information about the el mailing list