import repository from arizona
[raven.git] / tools / create_default_tpfiles / create_default_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/default.privatekey .
11 cp $KEYDIR/default.publickey .
12
13 rm -f default*.tpfile
14 python $STORKUTIL --storkutilsetupcomplete true --createblank -udefault adduser fedora8 $KEYDIR/fedora8.publickey allow "*"
15 python $STORKUTIL --storkutilsetupcomplete true --createblank -udefault adduser stork $KEYDIR/stork.publickey allow "*"
16
17 cp default*.tpfile $TPDIR/