aboutsummaryrefslogtreecommitdiffstats
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
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
-rw-r--r--NEWS3
-rwxr-xr-xgendistrib1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3594768..2f57146 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- gendistrib:
+ o if "xml-info" is set in media.cfg, pass --xml-info to genhdlist2
+
Version 5.6 - 18 March 2008, by Pascal "Pixel" Rigaux
- gendistrib:
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}";