DF-2815 / build.sh
#!/bin/sh # DF-2815 build: compile the churner and the reboot(2) helper in the guest. # Build on a normally-synced (non-shutting-down) system, then sync. set -e cc -O2 -Wall -pthread -o /root/churn /root/churn.c cc -O2 -Wall -o /root/rebootdirect /root/rebootdirect.c sync echo "build ok:" ls -l /root/churn /root/rebootdirect |