From 43e141b58eb5db257769497ddbb87ddcd6ac2120 Mon Sep 17 00:00:00 2001 From: Jakub Skoczen Date: Tue, 6 Jul 2010 16:36:02 +0200 Subject: [PATCH] Build yum indices --- update-archive/update-yum-archve.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 1.7.10.4