| |
@@ -135,9 +135,9 @@
|
| |
# this is because rhel-5 doesn't know sha256
|
| |
createrepo_cmd.extend(['-s', 'sha', '--checksum', 'md5'])
|
| |
|
| |
- mb_comps_xml_path = os.path.join(opts.directory, "repodata", "comps.xml")
|
| |
+ mb_comps_xml_path = os.path.join(opts.directory, "comps.xml")
|
| |
if os.path.exists(mb_comps_xml_path):
|
| |
- createrepo_cmd += ['--groupfile', mb_comps_xml_path, '--keep-all-metadata']
|
| |
+ createrepo_cmd += ['--groupfile', mb_comps_xml_path]
|
| |
|
| |
repodata_xml = os.path.join(opts.directory, 'repodata', 'repomd.xml')
|
| |
repodata_exist = os.path.exists(repodata_xml)
|
| |
We are historically storing the comps.xml file onto the
'<chroot>/comps.xml' path, but run_createrepo() mistakenly searched for
path '<chroot>/repodata/comps.xml'.