using mirrors with up2date-4.3.6

Adrian Likins alikins at redhat.com
Wed Jan 14 20:55:29 UTC 2004


Theres a first pass at mirror support in up2date-4.3.6
that just landed in rawhide. 

Theres a mirrors.txt in the doc dir that describes
the details, but to test it out, the easiest thing
is just to add a 

yum-mirror fedora-core-1 file:///tmp/whatever
yum-mirror updates-released file:///tmp/whatever2

and then copy the "fedora-core-1" and "updates-released"
mirror list files from the doc dir to /etc/sysconfig/rhn/mirrors.



In the above example, the file uri's are just placeholders
since up2date checks /etc/sysconfig/rhn/mirrors/* to see
if a user has defined a mirror list to be used for a 
given channel. I'll probabaly fix the sources parser
to make that line optional for the next build...

Those uri's can be replaces with real file uri's or
http urls that point to mirror lists as well, and
those will be updated every up2date invocation. Note
that the files in the user config /etc/sysconfig/rhn/mirrors
dir will need to be removed first (the user config
overrides any of the automaticaly updated mirror lists
that are fecthed from the uri's). 

The mirror list was in the examples was pulled out
of the fedora mirror list, and a quick manual
check to see what responded quickly.



btw, if anyone wants to poke at the cmdline
glob and @Comp stuff, that would be cool as well.

Adrian





More information about the devel mailing list