blob: 4fa5e8f57646867316aefbaddd5a22a6486d381e [file] [log] [blame] [view]
Leopold Schabel67f9d092019-10-22 15:41:42 +02001# Smalltown Operating System
2
3## Run build
4
Leopold Schabel5c80aca2019-10-22 15:48:58 +02005The build uses a Fedora 30 base image with a set of dependencies.
6
7Start container shell:
Leopold Schabel67f9d092019-10-22 15:41:42 +02008
9```
10modprobe kvm
11
12podman build -t smalltown-builder .
13
14podman run -it --rm \
15 -v $(pwd):/work \
16 -v /dev/null:/work/.git \
17 -v /dev/null:/work/.idea \
18 -v /dev/null:/work/.arcconfig \
19 --device /dev/kvm \
Leopold Schabel5c80aca2019-10-22 15:48:58 +020020 --net=host \
Leopold Schabel67f9d092019-10-22 15:41:42 +020021 smalltown-builder bash
Leopold Schabel67f9d092019-10-22 15:41:42 +020022```
23
Leopold Schabel5c80aca2019-10-22 15:48:58 +020024Launch the VM:
25
26 bazelisk run scripts:launch
27
Leopold Schabel67f9d092019-10-22 15:41:42 +020028Exit qemu using the monitor console: `Ctrl-A c quit`.
29
30If your host is low on entropy, consider running rngd from rng-tools for development.