2018-09-29 20:12:29 -04:00
|
|
|
# OC-PsychOS2
|
|
|
|
|
2019-01-08 06:13:52 -05:00
|
|
|
A lightweight, multi-user operating system for OpenComputers
|
|
|
|
|
2019-11-04 22:06:19 -05:00
|
|
|
## Building
|
|
|
|
|
|
|
|
### The kernel
|
|
|
|
|
|
|
|
The kernel can be built using luapreproc:
|
|
|
|
|
|
|
|
./luapreproc.lua module/init.lua kernel.lua
|
|
|
|
|
|
|
|
### The boot filesystem
|
|
|
|
|
|
|
|
A boot filesystem contains several things:
|
|
|
|
|
|
|
|
- The kernel, as init.lua
|
|
|
|
- The exec/ directory, as this contains all executables
|
|
|
|
- The lib/ directory, containing libraries
|
|
|
|
- The service/ directory, containing system services
|
|
|
|
|
|
|
|
This has been automated in the form of build.sh, pending a real makefile.
|
|
|
|
|
2019-01-08 06:13:52 -05:00
|
|
|
## Documentation
|
|
|
|
|
|
|
|
To generate function documentation, run:
|
|
|
|
|
|
|
|
./finddesc.lua module/* lib/* > apidoc.md
|