mock, mirrorlist & <arch>.newkey repos

Joe Christy joe at eshu.net
Sat Sep 13 18:16:06 UTC 2008



  Vis-a-vis your note of 2008-09-13 10:32:
> Joe Christy wrote:
>> I was starting to build a custom kernel rpm for my 1686 laptop today
>> on my x86_64 desktop, in mock, and noticed the following line in the
>> config file:
>>
>> mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f8&arch=i386
>>
>> Now, when I retrieve that url manually, it gives me a list of i386
>> repos, rather than i386.newkey repos.
>>
>> Is this the expected behavior? More importantly, is this the correct
>> behavior?
> 
> Expected?  Yeah, until the mock package gets updated.  Correct?  I
> don't think so.
> 
> I built some things in mock today and I added the newkey repos to my
> mock config.  Here's the diff:
> 
> --- fedora-9-i386.cfg~	2008-05-20 16:02:54.000000000 -0400
> +++ fedora-9-i386.cfg	2008-09-13 13:28:40.000000000 -0400
> @@ -26,6 +26,10 @@
>  mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9&arch=i386
>  failovermethod=priority
>  
> +[updates-released-newkey]
> +name=updates-newkey
> +mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f9.newkey&arch=i386
> +
>  [local]
>  name=local
>  baseurl=http://koji.fedoraproject.org/static-repos/dist-fc9-build-current/i386/
> 

	Thanks. Being a little dull-witted, I'd tried adding .newkey to the
arch cgi argument, not the repo. Doh! Now my mock root.log looks more
the way I'd like and I feel better about mock environment and its products.




More information about the fedora-list mailing list