Ignore:
Timestamp:
Apr 27, 2005, 3:29:21 PM (20 years ago)
Author:
stephand
Message:
  • expect usage (maik)
  • remove old patch description file
File:
1 edited

Legend:

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

    r697 r708  
    8787# echo Please enter Passphrase for gpg ID $SIGNID:
    8888# read PASS
    89 # echo $PASS | gpg -u $SIGNID --passphrase-fd 0 --clearsign $PATCHFILE
    9089
    91  gpg -u $SIGNID --clearsign $PATCHFILE
     90echo -n "Passphrase for signing packages: "
     91read PASS
     92 
     93 echo $PASS | gpg -u $SIGNID --passphrase-fd 0 --clearsign $PATCHFILE
     94 expect -c "spawn rpm --addsign $1" -c 'expect -ex "Enter pass phrase:"' -c "send $PASS\n" -c 'expect "Pass phrase"' -c 'wait'
     95
     96# gpg -u $SIGNID --clearsign $PATCHFILE
    9297 mv $PATCHFILE.asc $PATCHFILE
    93  rpm --addsign $1
     98# rpm --addsign $1
    9499
    95100#done
     
    98103then
    99104  # publish
     105  echo "Lösche alte Patch-Description"
     106  ssh $YOUSERVER "rm $YOUPATH/patches/patch-$PAKET-*"
    100107  echo "Kopiere Dateien ..."
    101108  scp $PATCHFILE $YOUSERVER:$YOUPATH/patches
Note: See TracChangeset for help on using the changeset viewer.