Operating system for OpenComputers
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
XeonSquared a219b5603e added the ability to unmount filesystems, removed fs mounting stuff on its own 1 month ago
exec made init not kill itself on startup 1 month ago
lib this is an intervention 5 months ago
module added the ability to unmount filesystems, removed fs mounting stuff on its own 1 month ago
service made getty actually start relevant services and re-start on failure 1 month ago
.gitignore updated the build instructions, script and gitignore 1 month ago
LICENSE Initial commit 1 year ago
README.md updated the build instructions, script and gitignore 1 month ago
build.sh rewrote init.lua to be a real init daemon 1 month ago
default-init.txt rewrote init.lua to be a real init daemon 1 month ago
finddesc.lua documentation of a sort 11 months ago
luapreproc.lua I'm using custom luapreproc so ??? 1 month ago
package.sh cleaned up some meta stuff 4 months ago

README.md

OC-PsychOS2

A lightweight, multi-user operating system for OpenComputers

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.

Documentation

To generate function documentation, run:

./finddesc.lua module/* lib/* > apidoc.md