| git.druid.rocks | index | druid520 | kaboom | mk/ | bd.sh |
mk/bd.sh
#!/bin/sh
# bakes every built userspace binary (out/user/*.elf, from mk/bu.sh)
# onto a fresh out/disk.img -- split out from mk/bu.sh so a rebuilt
# binary can be inspected/tested standalone before it's baked onto a
# disk image, and so the disk-building step (which reads the WHOLE
# out/user tree, not just whatever mk/bu.sh most recently touched) has
# its own clear place in the pipeline: mk . b, mk . bl, mk . bu,
# mk . bd, mk . rn.
. ./mk.conf
set -e
perl mk/disk.pl "$out/disk.img"