From: Elan Ruusamäe Date: Sun, 6 Jan 2008 19:15:03 +0000 (+0000) Subject: - generate repodata using comps.xml X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;ds=sidebyside;h=5458b67188b9507767a7652594960a3a9a7f9b0a;p=projects%2Fpld-ftp-admin.git - generate repodata using comps.xml Changed files: bin/pfa-genindex -> 1.18 --- diff --git a/bin/pfa-genindex b/bin/pfa-genindex index 9f554f1..0ac8b68 100644 --- a/bin/pfa-genindex +++ b/bin/pfa-genindex @@ -74,8 +74,8 @@ if do_yum: for arch in all_ftp_archs: print 'ARCHITECTURE: %s' % arch # Creating indexes for yum and other supporting xml repodata. - os.system('%s.stat/bin/createrepo --cache %s/tmp/createrepo/%s-%s %s%s/%s/RPMS' % - (ftp_dir,home,tree,arch,ftp_dir,tree,arch)) + os.system('%s.stat/bin/createrepo -g %s/comps.xml --cache %s/tmp/createrepo/%s-%s %s%s/%s/RPMS' % + (ftp_dir,ftp_dir,home,tree,arch,ftp_dir,tree,arch)) for tree in trees: ftpio.unlock(tree)