From 8c7668a9014dc117fcb32a1ea87103094c3100d4 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Tue, 29 Sep 2009 16:24:57 +0000 Subject: 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 --- lib/MDV/Distribconf/MediaCFG.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1