Changeset 697 for trunk


Ignore:
Timestamp:
Nov 24, 2004, 10:24:24 AM (20 years ago)
Author:
maik
Message:

Var fuer signid, rpm signieren mit eingebaut, patch pfad auf /tmp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/technical/common/build/make_and_publish_sles_patch_description.sh

    r693 r697  
    1212
    1313YOUSERVER=lxcdtower
     14# There must be subirectories named patches and rpm below this path
    1415YOUPATH=/cds/linux/i386/update/lvermgeo
     16
     17SIGNID="build@lvermgeo.rlp.de"
    1518
    1619##
     
    2225}
    2326
    24 DESCRDIR=/usr/src/packages/PATCH/
    2527
    26 
     28#DESCRDIR=/usr/src/packages/PATCH/
     29DESCRDIR=/tmp
    2730
    2831PAKET=`rpm --queryformat %{NAME} -qp $1`
     
    7982
    8083
    81 gpg --clearsign $PATCHFILE
    8284
    83 mv $PATCHFILE.asc $PATCHFILE
     85#for i in $SIGNID
     86#do
     87# echo Please enter Passphrase for gpg ID $SIGNID:
     88# read PASS
     89# echo $PASS | gpg -u $SIGNID --passphrase-fd 0 --clearsign $PATCHFILE
     90
     91 gpg -u $SIGNID --clearsign $PATCHFILE
     92 mv $PATCHFILE.asc $PATCHFILE
     93 rpm --addsign $1
     94
     95#done
    8496
    8597if (rpm --checksig $1 | grep -q "gpg OK")
     
    95107  exit 1
    96108fi     
    97 
    98 
    99 
    100 
    101 
Note: See TracChangeset for help on using the changeset viewer.