aboutsummaryrefslogtreecommitdiff
path: root/com.github.rimerosolutions.entrusted/entrusted-run
diff options
context:
space:
mode:
authoraxtloss <axtlos@tar.black>2022-08-13 16:30:54 +0200
committeraxtloss <axtlos@tar.black>2022-08-13 16:30:54 +0200
commitd915fe02e63db9df1753419ec95d29326777a7dc (patch)
tree81a337255d951f023a0195522622527e06f562c3 /com.github.rimerosolutions.entrusted/entrusted-run
parent458beb46f0d1cb18b43b2f6a83cb77d95dcc999d (diff)
downloadflatpaks-d915fe02e63db9df1753419ec95d29326777a7dc.tar.gz
flatpaks-d915fe02e63db9df1753419ec95d29326777a7dc.tar.bz2
add license and entrusted
Diffstat (limited to 'com.github.rimerosolutions.entrusted/entrusted-run')
-rw-r--r--com.github.rimerosolutions.entrusted/entrusted-run7
1 files changed, 7 insertions, 0 deletions
diff --git a/com.github.rimerosolutions.entrusted/entrusted-run b/com.github.rimerosolutions.entrusted/entrusted-run
new file mode 100644
index 0000000..892a32e
--- /dev/null
+++ b/com.github.rimerosolutions.entrusted/entrusted-run
@@ -0,0 +1,7 @@
+#!/usr/bin/env bash
+/app/bin/qemu-system-x86_64 -name entrusted,process=entrusted -pidfile ~/entrusted.pid -machine q35,smm=off,vmport=off -enable-kvm -cpu host,kvm=on -smp cores=2,threads=2,sockets=1 -m 2G -device virtio-balloon -smbios type=2,manufacturer="Quickemu Project",product=Quickemu,version=3.15,serial=0xDEADBEEF,location=quickemu.com,asset=entrusted -display none -rtc base=localtime,clock=host,driftfix=slew -monitor none -serial mon:stdio -device virtio-net,netdev=nic -netdev user,hostname=entrusted,hostfwd=tcp::13000-:13000,id=nic -drive media=cdrom,index=0,file=/app/bin/entrusted/entrusted.iso &
+zypak-wrapper /app/bin/entrusted/entrusted "$@"
+kill -SIGTERM $(cat ~/entrusted.pid)
+rm ~/guest.in
+rm ~/guest.out
+