DF-0880 / build.sh
#!/bin/sh # DF-0880 build (host-side): generate the crafted UDF image + compile the harness. # The DragonFly guest has no python3, so the image is generated here and copied # to the guest; the harness is self-contained C and can build on either. set -e cd "$(dirname "$0")" echo ">> python3 craft_img.py df0880.udf" python3 craft_img.py df0880.udf echo ">> cc -O2 -Wall -o harness harness.c" cc -O2 -Wall -o harness harness.c echo "BUILD_EXIT=0" ls -l df0880.udf harness |