record.sh 347 B

12345678910111213
  1. #!/usr/bin/env bash
  2. # Record the QEMU console. Start it before run-vm.sh; it retries the QMP socket.
  3. set -euo pipefail
  4. ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
  5. OUT="${1:-$ROOT/frames/install}"
  6. mkdir -p "$OUT"
  7. exec python3 "$ROOT/record.py" \
  8. --qmp "$ROOT/run/qmp.sock" \
  9. --out "$OUT" \
  10. --interval 0.125 \
  11. --boot-keys