import repository from arizona
[raven.git] / apps / importyum / create_fedora8_tpfile.sh
1 #!/bin/bash
2
3 KEYDIR=/home/smbaker/projects/stork/trunk/keys
4 TPDIR=/repository/yumimport/user-upload/tpfiles
5
6 STORKUTIL=~/projects/stork20/2.0/python/storkutil.py
7 #STORKUTIL=~/projects/stork/trunk/2.0/python/storkutil.py
8
9 # storkutil expects this to be in the current dir
10 cp $KEYDIR/fedora8.privatekey .
11 cp $KEYDIR/fedora8.publickey .
12
13 rm -f fedora8*.tpfile
14 python $STORKUTIL --storkutilsetupcomplete true --createblank -ufedora8 adduser fedora8-release $KEYDIR/fedora8.publickey allow "*"
15 python $STORKUTIL --storkutilsetupcomplete true --createblank -ufedora8 adduser fedora8-updates $KEYDIR/fedora8.publickey allow "*"
16 python $STORKUTIL --storkutilsetupcomplete true --createblank -ufedora8 adduser fedora8-updates-newkey $KEYDIR/fedora8.publickey allow "*"
17
18 cp fedora8*.tpfile $TPDIR/