pld-ftp-admin: scripts/gen-indexes.py Make separate cache for each...
arekm
arekm at pld-linux.org
Thu Jun 21 22:19:11 CEST 2007
Author: arekm Date: Thu Jun 21 20:19:11 2007 GMT
Module: pld-ftp-admin Tag: HEAD
---- Log message:
Make separate cache for each tree and architecture when using createrepo.
---- Files affected:
pld-ftp-admin/scripts:
gen-indexes.py (1.13 -> 1.14)
---- Diffs:
================================================================
Index: pld-ftp-admin/scripts/gen-indexes.py
diff -u pld-ftp-admin/scripts/gen-indexes.py:1.13 pld-ftp-admin/scripts/gen-indexes.py:1.14
--- pld-ftp-admin/scripts/gen-indexes.py:1.13 Sun Jun 17 19:05:10 2007
+++ pld-ftp-admin/scripts/gen-indexes.py Thu Jun 21 22:19:06 2007
@@ -54,8 +54,8 @@
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/RPMS' %
- (ftp_dir,home,ftp_dir,tree,arch))
+ os.system('%s.stat/bin/createrepo --cache %s/tmp/createrepo/%s-%s %s%s/%s/RPMS' %
+ (ftp_dir,tree,arch,home,ftp_dir,tree,arch))
for tree in trees:
ftpio.unlock(tree)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/pld-ftp-admin/scripts/gen-indexes.py?r1=1.13&r2=1.14&f=u
More information about the pld-cvs-commit
mailing list