/[smeserver]/builds_bin/release_rpms
ViewVC logotype

Diff of /builds_bin/release_rpms

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.1 by gordonr, Mon Oct 10 03:15:53 2005 UTC Revision 1.6 by gordonr, Fri Jun 30 00:18:07 2006 UTC
# Line 1  Line 1 
1  #!/bin/sh  #!/bin/sh
2    
3  for file in *.rpm  UNSIGNED=$(rpm -K $@ | grep 'md5 OK' | sed -e 's/:.*//')
4    
5    if [ -n "$UNSIGNED" ]
6    then
7        echo "The following RPMs are not signed:"
8        echo $UNSIGNED
9        echo "Please sign them now"
10    
11        rpm --addsign $UNSIGNED || exit 1
12    fi
13    
14    for file in $@
15  do  do
16      arch=$(basename $file .rpm | sed -e 's/.*\.//')      arch=$(basename $file .rpm | sed -e 's/.*\.//')
17    
# Line 19  do Line 30  do
30    
31          # XXX - FIXME - Force signing of RPMs before release          # XXX - FIXME - Force signing of RPMs before release
32          rpm -K $file          rpm -K $file
33          cp $file TARGET          cp -a $file $TARGET/$(basename $file)
34      fi      fi
35  done  done


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed