From: Jakub Skoczen Date: Tue, 6 Jul 2010 14:36:02 +0000 (+0200) Subject: Build yum indices X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=43e141b58eb5db257769497ddbb87ddcd6ac2120;p=git-tools-moved-to-github.git Build yum indices --- diff --git a/update-archive/update-yum-archve.sh b/update-archive/update-yum-archve.sh index cd35d91..40f0f3e 100755 --- a/update-archive/update-yum-archve.sh +++ b/update-archive/update-yum-archve.sh @@ -55,7 +55,6 @@ for vdist in centos/5.5 rhel/5.5; do for f in $distdir/SRPMS/*.src.rpm; do if test -f $f; then ln -sf $f $d/SRPMS/ - has_packages=true fi done fi @@ -63,10 +62,12 @@ for vdist in centos/5.5 rhel/5.5; do mkdir -p $d/${arch}/Packages for f in $distdir/RPMS/${arch}/*.rpm $distdir/RPMS/noarch/*.rpm; do if test -f $f; then - ln -sf $f $d/${arch}/Packages/ + ln -sf $f $d/${arch}/Packages/ has_packages=true fi done + createrepo --update $d/${arch} + gpg --detach-sign --armor $d/${arch}/repodata/repomd.xml done fi fi