- remove 'echo <products>' for repodata products, which seems to just break things...
authorMichael Schroeder <mls@suse.de>
Tue, 7 Feb 2012 12:05:16 +0000 (13:05 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 7 Feb 2012 12:05:16 +0000 (13:05 +0100)
tools/repo2solv.sh

index db1052c..3f24e17 100755 (executable)
@@ -139,12 +139,8 @@ if test "$repotype" = rpmmd ; then
     prodxml=`repomd_findfile product product.xml`
   fi
   if test -n "$prodxml" -a -s "$prodxml" ; then
-    prodfile=`mktemp` || exit 3
-    (
-     echo '<products>'
-     repomd_decompress "$prodxml"
-     echo '</products>'
-    ) | grep -v '\?xml' | rpmmd2solv $parser_options > $prodfile || exit 4
+      prodfile=`mktemp` || exit 3
+      repomd_decompress "$prodxml" | rpmmd2solv $parser_options > $prodfile || exit 4
   fi
 
   patternfile=