1 2 3 4 5
#!/bin/sh set -e su builder -c "../pkg-prep.sh $1" mount -o remount,size=8G /tmp ../builder.sh --volatile=overlay $(pwd)/../pkg-spawned.sh $(pwd) $2