1 2 3 4 5 6 7
#!/bin/sh # DF-3062 build: host crafts the image, guest builds the vn attach tool. # host: python3 craft3062.py df3062.img # guest: cc -O2 -o /root/vntool /root/vntool.c set -e [ -f df3062.img ] || python3 craft3062.py df3062.img echo BUILD-OK