summaryrefslogtreecommitdiffstats
path: root/pod/urpmi.addmedia.8.pod
diff options
context:
space:
mode:
Diffstat (limited to 'pod/urpmi.addmedia.8.pod')
-rw-r--r--pod/urpmi.addmedia.8.pod25
1 files changed, 25 insertions, 0 deletions
diff --git a/pod/urpmi.addmedia.8.pod b/pod/urpmi.addmedia.8.pod
index efffd9b2..9b99121d 100644
--- a/pod/urpmi.addmedia.8.pod
+++ b/pod/urpmi.addmedia.8.pod
@@ -16,6 +16,19 @@ must be chosen:
=over
+=item B<urpmi.addmedia> [I<options>] --distrib --mirrorlist <I<url>>
+
+A mirror list is a special API to describe mirrors available. urpmi will pick
+the nearest mirror, and will dynamically handle new mirrors. Example:
+
+ urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'
+
+=item B<urpmi.addmedia> [I<options>] --mirrorlist <I<url>> <I<name>> <I<relative path>>
+
+Example:
+
+ urpmi.addmedia --mirrorlist '$MIRRORLIST' backports media/main/backports
+
=item B<urpmi.addmedia> [I<options>] <I<name>> http://<I<login>>:<I<pass>>@<I<host>>/<I<path>>
where <I<name>> is a human-readable name for the new media (e.g.
@@ -131,6 +144,14 @@ Use synthesis file.
Use rpm files (instead of synthesis).
+=item B<--mirrorlist>
+
+Use the given url as a mirror list. It is quite special, please see examples
+at the beginning of this page.
+
+nb: $MIRRORLIST is a special variable which gives the default URL for the
+current distribution/arch
+
=item B<--distrib>
Retrieve a set of media from a distribution. Typically, the URL provided
@@ -206,6 +227,10 @@ on a Mandriva cooker system.)
The canonical hostname of the machine urpmi runs on.
+=item B<$MIRRORLIST>
+
+The url of the default mirrorlist for the distribution.
+
=back
=head1 SEE ALSO