bootadm update-archive must report archive creation failure
During a recent image construction process, I had not left enough space in the target pool to create the boot archive. Unfortunately,
bootadm update-archive does not always report a failure if the process that notices the out-of-space condition is the
gzip process used to compress the ramdisk. Instead, I saw:
stderr| gzip: stdout: No space left on device stdout| Creating boot_archive for /rpool/images/work/qemu-ttya-full/a stdout| updating /rpool/images/work/qemu-ttya-full/a/platform/i86pc/amd64/boot_archive (CPIO)
The program then exited with status zero. The resultant
boot_archive file was only 12MB, and most definitely incomplete/corrupt.
No data to display