From 6f8f7c3f52d027e9f72c83311943f7274ab10573 Mon Sep 17 00:00:00 2001 From: Bruce Potter Date: Sat, 31 Aug 2013 11:16:47 -0400 Subject: [PATCH] specifying checksum so the repo will work on rhel5 --- buildcore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index 1536368e8..cb8752b43 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -307,8 +307,8 @@ if [ "$OSNAME" != "AIX" ]; then echo "Signing RPMs..." build-utils/rpmsign.exp `find $DESTDIR -type f -name '*.rpm'` | grep -v -E '(was already signed|rpm --quiet --resign|WARNING: standard input reopened)' build-utils/rpmsign.exp $SRCDIR/*rpm | grep -v -E '(was already signed|rpm --quiet --resign|WARNING: standard input reopened)' - createrepo $DESTDIR - createrepo $SRCDIR + createrepo --checksum sha $DESTDIR # specifying checksum so the repo will work on rhel5 + createrepo --checksum sha $SRCDIR rm -f $SRCDIR/repodata/repomd.xml.asc rm -f $DESTDIR/repodata/repomd.xml.asc gpg -a --detach-sign $DESTDIR/repodata/repomd.xml