Documentation
¶
Overview ¶
testramfs acts just like a u-root command, with one difference: it will boot a VM with the generated initramfs. This code calls the u-root command in an effort to replicate, as much as possible, what a user would do. It therefore has no switches. All these variations work GOARCH=amd64 GOOS=linux ./testramfs ../.. GOARCH=arm64 GOOS=linux ./testramfs ../.. GOARCH=riscv64 GOOS=linux ./testramfs ../.. For extra convenience, we leave in the vm/ package cpud so you can, in addition to everything else, cpu in and mess around. Note: it boots fine, but cpud is not working on mac right now; qemu issue?
Click to show internal directories.
Click to hide internal directories.