Best of both worlds: let the checksums be a quick way to verify the
download but offer full integrity using the signatures for the uncompressed
images in case the uncompress is buggy.
Flip the order of root and swap to allow VM image to grow.
Hook this up in extras.conf and also retrofit a serial console
for being able to test and debug in bhyve (build/boot).
Omit the use of a GPT root label in the ZFS case to deal with
devices names in the way that bsdinstall sets it up. It is
not all that important for ZFS anyway.
The setup likely needs further testing and tweaking to make
sure we emulate bsdinstall zfsboot script properly to avoid
future problems.
Simplify the code a little by using the SELF var instead
of hardcoding the type again. This way some day the code
could be moved to common and reduce duplication further.
This will not taint the build system except for the final
sets and image dirs. Helps in keeping the build system
clean and that it's easier to inspect the build step.
While there, expand chroot to take a subdir argument as
some build steps need the STAGEDIR root for more than a
single purpose.