summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Distribconf.pm
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mandriva.org>2007-07-02 13:10:35 +0000
committerOlivier Thauvin <nanardon@mandriva.org>2007-07-02 13:10:35 +0000
commit5a66423d2da34baf0896cf7781868989464b548f (patch)
tree8eac9949b8a6fc1149af1d2d5103099812cf73bc /lib/MDV/Distribconf.pm
parent0dcaef65a3809b25a0d40f9e8c1a4143767818da (diff)
downloadperl-MDV-Distribconf-5a66423d2da34baf0896cf7781868989464b548f.tar
perl-MDV-Distribconf-5a66423d2da34baf0896cf7781868989464b548f.tar.gz
perl-MDV-Distribconf-5a66423d2da34baf0896cf7781868989464b548f.tar.bz2
perl-MDV-Distribconf-5a66423d2da34baf0896cf7781868989464b548f.tar.xz
perl-MDV-Distribconf-5a66423d2da34baf0896cf7781868989464b548f.zip
- resync lost file after svn crash
Diffstat (limited to 'lib/MDV/Distribconf.pm')
-rw-r--r--lib/MDV/Distribconf.pm55
1 files changed, 49 insertions, 6 deletions
diff --git a/lib/MDV/Distribconf.pm b/lib/MDV/Distribconf.pm
index ddcb908..560ae19 100644
--- a/lib/MDV/Distribconf.pm
+++ b/lib/MDV/Distribconf.pm
@@ -51,6 +51,49 @@ Some values have specific signification:
=over 4
+=item media specific values:
+
+=over 4
+
+=item B<hdlist>
+
+The path or basename of the hdlist. By default, this is
+C<hdlist_mediapath.cz>, with slashes and spaces being replaced by '_'.
+
+=item B<synthesis>
+
+The path or basename of the synthesis. By default, this is the hdlist
+name prefixed by C<synthesis>.
+
+=item B<pubkey>
+
+The path or basename of the gpg public key file. By default, this is
+the media name prefixed by C<pubkey_>.
+
+=item B<name>
+
+A human-readable name for the media. By default this is the media path
+(that is, the section name), where slashes have been replaced by
+underscores.
+
+=back
+
+=item global specific values:
+
+=over 4
+
+=item B<version>
+
+OS version.
+
+=item B<branch>
+
+OS branch (cooker, etc.)
+
+=item B<arch>
+
+Media target architecture.
+
=item B<root>
The root path of the distribution tree. This value is not set in
@@ -71,10 +114,12 @@ version.
=back
-Up to version 2 of media.cfg, for the paths of the hdlist and synthesis files,
-if only a basename is provided, the path is assumed to be relative to the
-mediadir or infodir. (hdlist and synthesis are created in both directories.)
-If it's a complete path, it's assumed to be relative to the 'root'. For example,
+=back
+
+For the paths of the hdlist and synthesis files, if only a basename is
+provided, the path is assumed to be relative to the mediadir or infodir.
+(hdlist and synthesis are created in both directories.) If it's a complete
+path, it's assumed to be relative to the 'root'. For example,
hdlist.cz -> <root>/<infodir>/hdlist.cz
./hdlist.cz -> <root>/./hdlist.cz
@@ -105,8 +150,6 @@ Here's a complete example of a F<media.cfg> file:
name=Contrib Sources
noauto=1
-See L<MDV::Distribconf::MediaCFG> for specific value set in media.cfg.
-
=head1 METHODS
=cut