[Groonga-mysql-commit] mroonga/mroonga at c0029e4 [master] Don't sign to already signed rpm when key is missing

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Jun 29 12:41:26 JST 2015


HAYASHI Kentaro	2015-06-29 12:41:26 +0900 (Mon, 29 Jun 2015)

  New Revision: c0029e46c38d3436be0a7ac2e2b04e532d99809c
  https://github.com/mroonga/mroonga/commit/c0029e46c38d3436be0a7ac2e2b04e532d99809c

  Message:
    Don't sign to already signed rpm when key is missing
    
    It causes following the error for example.
    
      % rpm --checksig repositories/centos/5/source/SRPMS/MySQL-5.5.21-1.rhel5.src.rpm
      error: repositories/centos/5/source/SRPMS/MySQL-5.5.21-1.rhel5.src.rpm: sigh tags: BAD, no. of tags(33) out of range

  Modified files:
    packages/yum/sign-rpm.sh

  Modified: packages/yum/sign-rpm.sh (+1 -1)
===================================================================
--- packages/yum/sign-rpm.sh    2015-06-29 12:30:37 +0900 (b3a45af)
+++ packages/yum/sign-rpm.sh    2015-06-29 12:41:26 +0900 (27ec571)
@@ -24,7 +24,7 @@ run()
 unsigned_rpms()
 {
     while read rpm; do
-	rpm --checksig "$rpm" | grep -v 'gpg OK' | cut -d":" -f1
+	rpm --checksig "$rpm" | grep -v 'gpg OK' | grep -v 'MISSING KEYS' | cut -d":" -f1
     done
 }
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index