2019-03-05 03:43:53 +03:00
|
|
|
source $stdenv/setup
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
cp -r $FAKEZOD ./zod
|
|
|
|
chmod -R u+rw ./zod
|
|
|
|
|
|
|
|
urbit -d ./zod
|
|
|
|
|
|
|
|
cleanup () {
|
|
|
|
if [ -e ./zod/.vere.lock ]
|
|
|
|
then kill $(< ./zod/.vere.lock) || true;
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
trap cleanup EXIT
|
|
|
|
|
2019-04-25 03:27:27 +03:00
|
|
|
herb ./zod -p hood -d '+hood/autoload |'
|
|
|
|
herb ./zod -p hood -d "+hood/mount %"
|
2019-03-05 03:43:53 +03:00
|
|
|
|
|
|
|
rm -r ./zod/home
|
|
|
|
cp -r $ARVO ./zod/home
|
|
|
|
|
|
|
|
# cp -r $ARVO/sys ./zod/home/
|
|
|
|
# cp $ARVO/gen/solid.hoon ./zod/home/gen/
|
|
|
|
# cp $ARVO/lib/pill.hoon ./zod/home/lib/
|
|
|
|
|
2019-04-25 03:27:27 +03:00
|
|
|
herb ./zod -p hood -d "+hood/commit %home"
|
|
|
|
herb ./zod -P urbit.pill -d '+solid, =dub &'
|
2019-03-05 03:43:53 +03:00
|
|
|
|
|
|
|
mv urbit.pill $out
|