mock, mirrorlist & <arch>.newkey repos

Todd Zullinger tmz at pobox.com
Sat Sep 13 17:32:59 UTC 2008


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/

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It is hard to fight an enemy who has outposts in your head.
    -- Sally Kempton

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080913/688a3061/attachment-0001.sig>


More information about the fedora-list mailing list