DF-0820 / build.sh
#!/bin/sh # DF-0820 build script — compiles the superblock patcher and the primitive # characterizer in the guest. Run as root (sources live in /root). # Usage (from host): scp this + sources to dfbsd:/root/, then vm.sh run_root 'sh /root/build.sh' set -e cd "$(dirname "$0")" cc -o craft craft.c cc -o harness harness.c echo "BUILD_OK: craft + harness" ls -l craft harness |