From 1d5f504e054992e4606e1164d367f2fd0fd30314 Mon Sep 17 00:00:00 2001 From: Mark Date: Wed, 28 Feb 2024 13:34:24 -0500 Subject: [PATCH] Do not check certificate when getting repomd.xml.key --- buildcore.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildcore.sh b/buildcore.sh index eb5da381e..c8d40dc52 100755 --- a/buildcore.sh +++ b/buildcore.sh @@ -482,10 +482,10 @@ if [ "$OSNAME" != "AIX" ]; then gpg -a --detach-sign --default-key 5619700D $DESTDIR/repodata/repomd.xml gpg -a --detach-sign --default-key 5619700D $SRCDIR/repodata/repomd.xml if [ ! -f $DESTDIR/repodata/repomd.xml.key ]; then - ${WGET_CMD} -q -P $DESTDIR/repodata $GSA/keys/repomd.xml.key + ${WGET_CMD} --no-check-certificate -q -P $DESTDIR/repodata $GSA/keys/repomd.xml.key fi if [ ! -f $SRCDIR/repodata/repomd.xml.key ]; then - ${WGET_CMD} -P $SRCDIR/repodata $GSA/keys/repomd.xml.key + ${WGET_CMD} --no-check-certificate -P $SRCDIR/repodata $GSA/keys/repomd.xml.key fi else createrepo $DESTDIR