about summary refs log tree commit diff stats
path: root/README.md
blob: bb3f3d3ce26f6b31ddd9245c01556ac13caef9c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# k2spice

[![builds.sr.ht status](https://builds.sr.ht/~spicywolf/k2spice.svg)](https://builds.sr.ht/~spicywolf/k2spice?)

## A CLA-approved opinionated userland

This project started because I dislike GNU enough to do something about it.  All of the userland tools provided can be run on any system that rust compiles to.

## Goals

The first and primary goal is to build a statically-linkable, fully portable binary userland distribution not dissimilar to busybox.

The compatibility spec is considered to be the source code of the tools located in the [illumos-gate](https://github.com/illumos/illumos-gate/tree/master/usr/src/cmd) repo.  Not all tools will be implemented, as they are very specific to illumos.

## Project Layout

In the root of the repo there is `Cargo.toml`, which is the workspace definition for the rest of the project.  From here, you could run `cargo build` and build all the tools at once.

All source is stored in `usr/src/`.  This is to comply with the CDDL license.  Inside of `usr/src/` are the files/directories:

 * OPENSOLARIS.LICENSE
 * mei

OPENSOLARIS.LICENSE is the required CDDL license file.

The `mei` directory contains the source code for all userspace commands.

## Approved Dependency List

Currently, we are allowed to depend on the following crates and their dependencies:

 - [nix](https://crates.io/crates/nix)
 - [clap](https://crates.io/crates/clap)
 - [serde](https://crates.io/crates/serde)