We use QEMU's virtual FAT support to avoid having to create a disk image, but this support is limited to about 500MB. Artifacts produced by the GCC 12 CI job exceed this size. Add support for creating a FAT partition image and MBR-partitioned disk image and use it when the file system is too large for QEMU.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
tools/boot/ci-qemu-test.sh | ||
---|---|---|
112 | this is somewhat less than 500MB... Might also want to drop a comment in saying that we bother checking the size because it's a lot faster to just use qemu virtual FAT when we can... (a trick I need to teach my full-test.sh) |
Comment Actions
Will change comment to
# Using QEMU's virtual FAT support is much faster than creating a disk image, # but only supports about 500MB. Fall back to creating a disk image if the # staged root is too large.
Comment Actions
Love it now.
Not sure how much cleanup is needed in this env, but I think the whole thing is thrown away so you don't need to cleanup image.fat and image.mbr, right?