pld-ftp-admin: scripts/gen-indexes.py - manually copy comps.xml for now for...
glen
glen at pld-linux.org
Fri Nov 14 15:37:39 CET 2008
Author: glen Date: Fri Nov 14 14:37:39 2008 GMT
Module: pld-ftp-admin Tag: HEAD
---- Log message:
- manually copy comps.xml for now for rpmrepo
---- Files affected:
pld-ftp-admin/scripts:
gen-indexes.py (1.23 -> 1.24)
---- Diffs:
================================================================
Index: pld-ftp-admin/scripts/gen-indexes.py
diff -u pld-ftp-admin/scripts/gen-indexes.py:1.23 pld-ftp-admin/scripts/gen-indexes.py:1.24
--- pld-ftp-admin/scripts/gen-indexes.py:1.23 Fri Nov 14 15:05:38 2008
+++ pld-ftp-admin/scripts/gen-indexes.py Fri Nov 14 15:37:34 2008
@@ -96,6 +96,9 @@
dir = '%s/%s/%s/RPMS' % (ftp_dir, tree, arch)
print 'generate 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
+ os.system('set -x; cp -p %s %s/repodata' % (comps, dir))
for tree in trees:
ftpio.unlock(tree)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/pld-ftp-admin/scripts/gen-indexes.py?r1=1.23&r2=1.24&f=u
More information about the pld-cvs-commit
mailing list