freebsd-dev/release/tools
Mitchell Horne 0d51f9e589 vmimage.subr: noisier failure for unsupported targets
The return code of write_partition_layout() doesn't bubble up, so an
invocation of make vm-release for an incorrect/unsupported target will
appear to succeed while make vm-install will fail due to missing
files. This isn't a common point of failure, but is worth handling
properly.

Upgrade this case to print a message to stderr, and exit in place. This
is okay to do since at this point in the execution of mk-vmimage.sh,
cleanup() has already been run.

Reviewed by:	gjb
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D26985
2020-10-30 18:18:25 +00:00
..
arm.subr release: Fix arm GPT image 2020-06-10 14:10:48 +00:00
azure.conf Chase r284656 and r284658: 2015-06-21 04:34:57 +00:00
ec2.conf Spawn the DHCPv6 client in EC2 instances via rtsold. 2020-09-13 19:56:53 +00:00
gce.conf Revert r348438. 2019-05-31 18:40:19 +00:00
openstack.conf multi-boot for openstack/qcow images 2020-01-27 22:40:03 +00:00
vagrant-virtualbox.conf Remove /etc/resolv.conf from virtual machine images, which is 2017-11-21 18:02:18 +00:00
vagrant-vmware.conf Remove /etc/resolv.conf from virtual machine images, which is 2017-11-21 18:02:18 +00:00
vagrant.conf Include the shells/bash port on Vagrant images, which prevents 2020-05-28 18:48:30 +00:00
vmimage.subr vmimage.subr: noisier failure for unsupported targets 2020-10-30 18:18:25 +00:00