blob: 9616b7d707770adfb9ddb6108119c36e466bd5ef [file] [log] [blame]
#!/bin/bash
export DISK=$(mktemp -p tmp -t XXXXXXXXXXXXXXXX.img)
export EFIVAR=tmp/$(basename $DISK .img).fd
bus=${BUS-pci}
truncate -s 16G $DISK
truncate -s 64M $EFIVAR
./runefivm.sh $*
if [ -z "$KEEPME" ]; then
rm -f $DISK $EFIVAR
fi