Refactor bootstrapping sequence for a consistent experience.

This commit is contained in:
Anna Rose Wiggins 2021-08-02 00:06:43 -04:00
parent 826df45ff2
commit f2f81cd838
5 changed files with 76 additions and 37 deletions

View file

@ -1,9 +1,11 @@
deletepath("/boot/helicopter").
runoncepath("0:/lib/boot").
compile "0:/lib/stabilize_helicopter" to "1:/lib/stabilize_helicopter".
compile "0:/init/helicopter" to "1:/init".
parameter debug is false.
// Set OS to boot and restart.
set core:bootfilename to "/init".
reboot.
Bootstrap(
"/boot/helicopter",
"/init/helicopter",
list("/lib/stabilize_helicopter"),
list("/lib/ui"),
debug
).