poldek = '%s.stat/bin/poldek-new --cachedir=%s/tmp/poldek --conf %s.stat/etc/poldek.conf --mkidxz' % (ftp_dir, home, ftp_dir)
for tree in trees:
- print '-------------------------- %s --------------------------' % tree
+ print '\n-------------------------- %s --------------------------' % tree
for arch in all_ftp_archs:
- print 'generate poldek index for %s' % arch
+ print '\ngenerate poldek index for %s' % arch
if config.poldek_indexes != "old":
os.system('%s -s %s%s/%s/RPMS/ --mkidxz --mkidx-type pndir' % (poldek, ftp_dir, tree, arch))
if arch != 'noarch' and config.separate_debuginfo:
os.system('set -x; cd %s.stat/repodata && cvs up comps.xml' % ftp_dir)
yum = '%s.stat/bin/createrepo -d -g %s.stat/repodata/comps.xml' % (ftp_dir, ftp_dir)
for tree in trees:
- print '-------------------------- %s --------------------------' % tree
+ print '\n-------------------------- %s --------------------------' % tree
cachedir = '%s/tmp/createrepo/%s' % (home, tree)
for arch in all_ftp_archs:
- print 'generate repodata for %s using createrepo' % arch
+ print '\ngenerate repodata for %s using createrepo' % arch
# Creating indexes for yum and other supporting xml repodata.
os.system('time %s --cache %s-%s %s%s/%s/RPMS' % (yum, cachedir, arch, ftp_dir, tree, arch))
if arch != 'noarch' and config.separate_debuginfo:
if do_rpmrepo:
os.system('set -x; cd %s.stat/repodata && cvs up comps.xml' % ftp_dir)
for tree in trees:
- print '-------------------------- %s --------------------------' % tree
+ print '\n-------------------------- %s --------------------------' % tree
for arch in all_ftp_archs:
dir = '%s/%s/%s/RPMS' % (ftp_dir, tree, arch)
- print 'generate repodata for %s using rpmrepo (in %s)' % (arch, dir)
+ print '\ngenerate repodata for %s using rpmrepo (in %s)' % (arch, dir)
os.system('time rpmrepo %s -o %s' % (dir, dir))
print 'copy comps.xml'
comps = '%s.stat/repodata/comps.xml' % ftp_dir