2012-06-13 06:23:26 +00:00
|
|
|
|
2012-06-13 08:56:28 +00:00
|
|
|
basedir=$(cd $srcdir && pwd)
|
|
|
|
datadir=$(pwd)
|
|
|
|
bindir="$datadir/.."
|
2012-06-13 06:23:26 +00:00
|
|
|
|
|
|
|
sbsign=$bindir/sbsign
|
|
|
|
sbverify=$bindir/sbverify
|
|
|
|
sbattach=$bindir/sbattach
|
|
|
|
|
2012-06-13 08:56:28 +00:00
|
|
|
key="$datadir/private-key.rsa"
|
|
|
|
cert="$datadir/public-cert.pem"
|
|
|
|
image="$datadir/test.pecoff"
|
|
|
|
|
|
|
|
tempdir=$(mktemp --directory)
|
|
|
|
exit_trap='rm -rf $tempdir'
|
|
|
|
trap "$exit_trap" EXIT
|
|
|
|
|
|
|
|
cd "$tempdir"
|