DF-2937 / build.sh
#!/bin/sh # Build the probe on the guest (as root; /tmp is world-writable): # ./build.sh (run from repo root: pipes source over ssh) set -e D=$(dirname "$0") scp -F dfbsd-qemu/config -o BatchMode=yes "$D/sched_probe.c" dfbsd:/root/sched_probe.c dfbsd-qemu/vm.sh run_root 'cc -o /root/sched_probe /root/sched_probe.c && install -m 555 /root/sched_probe /tmp/sched_probe && echo BUILD_OK' |