|
|
|
@ -1,15 +1,16 @@
|
|
|
|
|
# mini
|
|
|
|
|
|
|
|
|
|
mini is a minimal init system.
|
|
|
|
|
It was created mainly for educational purposes as well as wanting to know if I were able to reduce my Arch boot time.
|
|
|
|
|
It was created mainly for educational purposes and also for the sake of reducing my laptop's boot time.
|
|
|
|
|
|
|
|
|
|
You may use it at your own risk, it is not ready for any serious use (and will probably never be :)).
|
|
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
|
|
1. Clone this repo
|
|
|
|
|
2. `cargo build`
|
|
|
|
|
3. `cp target/debug/mini /sbin/`
|
|
|
|
|
4. Create your services files if needed
|
|
|
|
|
2. `cargo build --release`
|
|
|
|
|
3. `cp target/release/mini /sbin/`
|
|
|
|
|
4. Create your services files if needed (using the files given in svc/ as a template) and put them in /etc/mini
|
|
|
|
|
5. Edit the kernel command line and add `init=/sbin/mini`
|
|
|
|
|
|
|
|
|
|
## Developing
|
|
|
|
|