From 34f06692809bb0ae0266fc67983fd75ed7e5d84b Mon Sep 17 00:00:00 2001 From: czarny Date: Tue, 29 May 2007 07:53:19 +0000 Subject: [PATCH] - generating xml repo data for yum and all other who support it Changed files: bin/pfa-genindex -> 1.11 --- bin/pfa-genindex | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/pfa-genindex b/bin/pfa-genindex index 382bcb0..7e7cd7d 100644 --- a/bin/pfa-genindex +++ b/bin/pfa-genindex @@ -49,6 +49,11 @@ for tree in trees: if config.poldek_indexes != "new": os.system('%s.stat/bin/poldek-new --cachedir=%s/tmp/poldek --conf %s.stat/etc/poldek.conf -s %s%s/%s/RPMS/ --mkidxz --mkidx-type pdir' % (ftp_dir,home,ftp_dir,ftp_dir,tree,arch)) + # Creating indexes for yum and other supporting xml repodata. + # -c cache directory; speeds up generation with files once cached + # -p; output human readable (indended) xml files; they get gziped after, so no harm done + os.system('%s.stat/bin/createrepo -c %s/tmp/createrepo -p %s%s/%s/RPMS' % + (ftp_dir,home,ftp_dir,tree,arch)) for tree in trees: ftpio.unlock(tree) -- 2.44.0