2021-07-18 23:32:45 +00:00
|
|
|
// rocketOS bootstrapping sequence
|
2021-07-18 08:07:00 +00:00
|
|
|
|
2021-07-19 08:46:05 +00:00
|
|
|
// To maximize space, remove this file first thing. The in-memory copy
|
2021-07-19 22:29:39 +00:00
|
|
|
// will still run to completion, and it should only run once per vessel.
|
2021-07-19 08:46:05 +00:00
|
|
|
deletepath("/boot/rocket").
|
|
|
|
|
2021-07-18 23:32:45 +00:00
|
|
|
// Install software.
|
2021-07-19 09:09:17 +00:00
|
|
|
compile "0:/ui/rocket" to "1:/init".
|
2021-07-19 08:54:15 +00:00
|
|
|
compile "0:/lib/navigation" to "1:/lib/navigation".
|
|
|
|
compile "0:/lib/throttle" to "1:/lib/throttle".
|
2021-07-20 00:06:38 +00:00
|
|
|
copypath("0:/lib/math", "1:/lib/math"). // larger when compiled
|
2021-07-19 08:54:15 +00:00
|
|
|
compile "0:/launch" to "1:/launch".
|
2021-07-19 09:09:17 +00:00
|
|
|
copypath("0:/execnode", "1:/execnode"). // larger when compiled
|
2021-07-18 23:32:45 +00:00
|
|
|
|
|
|
|
// Set OS to boot and restart.
|
2021-07-19 09:09:17 +00:00
|
|
|
set core:bootfilename to "/init".
|
2021-07-18 23:32:45 +00:00
|
|
|
|
|
|
|
reboot.
|