| Leopold Schabel | 67f9d09 | 2019-10-22 15:41:42 +0200 | [diff] [blame] | 1 | # Smalltown Operating System |
| 2 | |
| 3 | ## Run build |
| 4 | |
| 5 | The build uses a Fedora 30 base image with a set of dependencies: |
| 6 | |
| 7 | ``` |
| 8 | modprobe kvm |
| 9 | |
| 10 | podman build -t smalltown-builder . |
| 11 | |
| 12 | podman run -it --rm \ |
| 13 | -v $(pwd):/work \ |
| 14 | -v /dev/null:/work/.git \ |
| 15 | -v /dev/null:/work/.idea \ |
| 16 | -v /dev/null:/work/.arcconfig \ |
| 17 | --device /dev/kvm \ |
| 18 | smalltown-builder bash |
| 19 | |
| 20 | scripts/fetch_third_party.sh |
| 21 | scripts/build_artifacts.sh |
| 22 | |
| 23 | make launch |
| 24 | ``` |
| 25 | |
| 26 | Exit qemu using the monitor console: `Ctrl-A c quit`. |
| 27 | |
| 28 | If your host is low on entropy, consider running rngd from rng-tools for development. |