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

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Jun 29 12:40:03 JST 2015


HAYASHI Kentaro	2015-06-29 12:40:03 +0900 (Mon, 29 Jun 2015)

  New Revision: aa9489150d0fd369b449c501eed00955a28bbed9
  https://github.com/groonga/groonga/commit/aa9489150d0fd369b449c501eed00955a28bbed9

  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 00:25:08 +0900 (b3a45af)
+++ packages/yum/sign-rpm.sh    2015-06-29 12:40:03 +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-commit mailing list
Back to archive index