[X2Go-Commits] [buildscripts] 02/02: sign repomd.xml file after re-creation

git-admin at x2go.org git-admin at x2go.org
Wed Oct 29 15:12:20 CET 2014


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository buildscripts.

commit 78c4b0c2922642bc9c2f9d6452c7a055a68bd687
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Oct 29 15:12:16 2014 +0100

    sign repomd.xml file after re-creation
---
 bin/build-rpm-package |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/bin/build-rpm-package b/bin/build-rpm-package
index c888a88..ecefc8c 100755
--- a/bin/build-rpm-package
+++ b/bin/build-rpm-package
@@ -358,6 +358,9 @@ upload_packages() {
 
 					0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/ && createrepo ."
 
+					0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/repodata &&  gpg -a -u ${GPG_KEY} --detach-sign repomd.xml"
+					0</dev/null ssh $REPOS_SERVER "cd $RPM_REPOS_BASE/$l_DIST/$l_CODENAME/$COMPONENT/$l_ARCH/repodata &&  gpg -a --output repomd.xml.key --export ${GPG_KEY} "
+
 				fi
 			done
 		done

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git


More information about the x2go-commits mailing list