| commit | e28e1b3556feb786c71f161b357fcf6899e44c19 | [log] [tgz] |
|---|---|---|
| author | Lorenz Brun <lorenz@nexantic.com> | Tue Oct 22 19:20:34 2019 +0200 |
| committer | Lorenz Brun <lorenz@nexantic.com> | Tue Oct 22 19:20:34 2019 +0200 |
| tree | 4bc2b91b2e276c6e7ee4131ab0c76eec4ec391fa | |
| parent | 5c80acaec733e0b7c43cb0584cdeb7cebc826aa9 [diff] |
Fix Bazel on properly sandboxed execution Test Plan: Tested by launching VM X-Origin-Diff: phab/D199 GitOrigin-RevId: d27f09e62067082ca0d6f40510c851752094b481
The build uses a Fedora 30 base image with a set of dependencies.
Start container shell:
modprobe kvm
podman build -t smalltown-builder .
podman run -it --rm \
-v $(pwd):/work \
-v /dev/null:/work/.git \
-v /dev/null:/work/.idea \
-v /dev/null:/work/.arcconfig \
--device /dev/kvm \
--net=host \
smalltown-builder bash
Launch the VM:
bazelisk run scripts:launch
Exit qemu using the monitor console: Ctrl-A c quit.
If your host is low on entropy, consider running rngd from rng-tools for development.