summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Distribconf
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-29 16:24:57 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-29 16:24:57 +0000
commit8c7668a9014dc117fcb32a1ea87103094c3100d4 (patch)
tree971d4727105d82f0f7de97e6e45c03e64c4cb1ab /lib/MDV/Distribconf
parent369f21e36682661d349286797e024484b690ffec (diff)
downloadperl-MDV-Distribconf-8c7668a9014dc117fcb32a1ea87103094c3100d4.tar
perl-MDV-Distribconf-8c7668a9014dc117fcb32a1ea87103094c3100d4.tar.gz
perl-MDV-Distribconf-8c7668a9014dc117fcb32a1ea87103094c3100d4.tar.bz2
perl-MDV-Distribconf-8c7668a9014dc117fcb32a1ea87103094c3100d4.tar.xz
perl-MDV-Distribconf-8c7668a9014dc117fcb32a1ea87103094c3100d4.zip
add support for media_type entry in media.cfg
"add support" means the media.cfg parser won't complain when it encounters such an entry
Diffstat (limited to 'lib/MDV/Distribconf')
-rw-r--r--lib/MDV/Distribconf/MediaCFG.pm9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/MDV/Distribconf/MediaCFG.pm b/lib/MDV/Distribconf/MediaCFG.pm
index c00ddef..bdadf69 100644
--- a/lib/MDV/Distribconf/MediaCFG.pm
+++ b/lib/MDV/Distribconf/MediaCFG.pm
@@ -184,7 +184,7 @@ Compression filter used for xml-info
=cut
-foreach (qw(hdlist name synthesis pubkey)) {
+foreach (qw(hdlist name synthesis pubkey media_info)) {
$value->{$_} = { };
}
@@ -206,6 +206,13 @@ The file holding public gpg key used to sign rpms in this media.
=cut
+=head3 media_type
+
+Contains a comma-separated list of tags meant to help tools to better
+describe the media
+
+=cut
+
$value->{srpms} = { deny => 'rpms', cross => 'rpms', ismedialist => 1 };
=head3 srpms