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