projects
/
git-tools-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2be2026
)
Build yum indices
author
Jakub Skoczen
<jakub@indexdata.dk>
Tue, 6 Jul 2010 14:36:02 +0000
(16:36 +0200)
committer
Jakub Skoczen
<jakub@indexdata.dk>
Tue, 6 Jul 2010 14:36:02 +0000
(16:36 +0200)
update-archive/update-yum-archve.sh
patch
|
blob
|
history
diff --git
a/update-archive/update-yum-archve.sh
b/update-archive/update-yum-archve.sh
index
cd35d91
..
40f0f3e
100755
(executable)
--- 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