Nathaniel van Diepen
Nathaniel van Diepen
I haven't directly tested this yet, but in theory it should shrink the build cache a bit. Here-documents are a newer dockerfile feature to make multi-line stuff easier: https://docs.docker.com/engine/reference/builder/#here-documents
Currently blocked by https://github.com/toltec-dev/toolchain/pull/30
Have you looked at using the rM kernel sources instead of upstream?
It would be interesting to use copy on write to store changes to the base image in a way where this can be uploaded without the rootfs, but with the...
https://wiki.qemu.org/Documentation/9psetup This will allow mounting a folder all the way through to the guest.
This will save time for automated builds as they can pull the existing builds before building and caching their own rootfs.
I would recommend overriding the rm2fb service with some sort of dummy so that packages that install with toltec that depend on it will not error out.
I've been poking around with running applications from toltec in the emulator, and quite a few of them hard code the input paths, which cause them to crash when attempting...
It would be useful if the run_vm.sh script allowed overriding the cpu core count and the memory allocation. Automated build processes using this image would benefit from more resources.