1 #!/bin/sh 2 WD="${1:-.stash/box}" 3 PROFILE=".stash/src/box" 4 mkdir -pv $WD/baseline 5 6 hg clone https://vc.compiler.company/infra/box $PROFILE 7 pushd $PROFILE 8 hg up baseline 9 popd 10 sudo mkarchiso -v -w $(realpath $WD/baseline) -o $WD $PROFILE