aboutsummaryrefslogtreecommitdiffstats
path: root/gendistrib
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-03-19 17:37:19 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-03-19 17:37:19 +0000
commit6aa7fd7ee05075b2793445e42d838c281b40ecea (patch)
treec1a425cf7ad0e1a34fe2b2594a112214c11a37d9 /gendistrib
parentd431c23ee337a83454c6c4276b61cc1a458d6358 (diff)
downloadrpmtools-6aa7fd7ee05075b2793445e42d838c281b40ecea.tar
rpmtools-6aa7fd7ee05075b2793445e42d838c281b40ecea.tar.gz
rpmtools-6aa7fd7ee05075b2793445e42d838c281b40ecea.tar.bz2
rpmtools-6aa7fd7ee05075b2793445e42d838c281b40ecea.tar.xz
rpmtools-6aa7fd7ee05075b2793445e42d838c281b40ecea.zip
- gendistrib:
o if "xml-info" is set in media.cfg, pass --xml-info to genhdlist2
Diffstat (limited to 'gendistrib')
-rwxr-xr-xgendistrib1
1 files changed, 1 insertions, 0 deletions
diff --git a/gendistrib b/gendistrib
index 1911ecc..765ae14 100755
--- a/gendistrib
+++ b/gendistrib
@@ -146,6 +146,7 @@ foreach my $e (grep { !$_->{noneedrebuild} } @hdlists) {
$nooutput ? '--quiet' : (),
$nobadrpm ? '--no-bad-rpm' : (),
$nomd5sum || $e->{noneedredomd5} ? "--no-md5sum" : (),
+ $distrib->getvalue($e->{media}, 'xml-info') ? '--xml-info' : (),
-e $file_deps ? "--file-deps $file_deps" : (),
);
my $cmd = "genhdlist2 $options $e->{path}";