blob: c2b046423105e73b5d8cac688a1ad67c453b1778 [file] [log] [blame] [view]
Leopold Schabel67f9d092019-10-22 15:41:42 +02001# Smalltown Operating System
2
3## Run build
4
5The build uses a Fedora 30 base image with a set of dependencies:
6
7```
8modprobe kvm
9
10podman build -t smalltown-builder .
11
12podman 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
20scripts/fetch_third_party.sh
21scripts/build_artifacts.sh
22
23make launch
24```
25
26Exit qemu using the monitor console: `Ctrl-A c quit`.
27
28If your host is low on entropy, consider running rngd from rng-tools for development.