From 4a54d2e1b994faeb6e4a663fbcaf845cba020cb7 Mon Sep 17 00:00:00 2001 From: Bruce Potter Date: Sat, 31 Aug 2013 11:19:15 -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 d722d44b7..3d1047edc 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -348,8 +348,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