Open japaric opened 8 years ago
I do indeed! Instructions are here with specific sections for FreeBSD and OpenBSD.
The general idea is to:
Then to drive the tests you'd put everything you need into a disk image, spin qemu up with that image, and then scrape the output to see if the tests failed. This is all quite brittle, and isn't great b/c you basically have to pre-cache the built image (too slow or not scriptable to create), which reduces the utility over docker.
Resources
build_*bsd_toolchain.sh
.Tentative next steps
By the way, @alexcrichton, do you have build instructions for the *bsd.qcow2 images libc uses in its tests? Also, is the "run this script at boot" logic hardcoded in image itself or can that be configured from the command line?