diff options
author | gjb <gjb@FreeBSD.org> | 2014-11-08 13:49:18 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2014-11-08 13:49:18 +0000 |
commit | 9a076ad6f79b98290bcf134ffe132223de5509e7 (patch) | |
tree | bbfa6ff4bd8e9ea2f8efcadbcbdee0104721c444 /release/tools | |
parent | 987e4720872ab85486b66e3d1edc33550e9186c3 (diff) | |
download | FreeBSD-src-9a076ad6f79b98290bcf134ffe132223de5509e7.zip FreeBSD-src-9a076ad6f79b98290bcf134ffe132223de5509e7.tar.gz |
Fix line continuation in write_partition_layout().
Remove variable test that is no longer needed.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/tools')
-rw-r--r-- | release/tools/vmimage.subr | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr index 62273a5..b6a91da 100644 --- a/release/tools/vmimage.subr +++ b/release/tools/vmimage.subr @@ -16,14 +16,14 @@ write_partition_layout() { mkimg -f gpt -b /boot/pmbr \ -p freebsd-boot/bootfs:=/boot/gptboot \ -p freebsd-swap/swapfs::1G \ - -p freebsd-ufs/rootfs:=${VMBASE} + -p freebsd-ufs/rootfs:=${VMBASE} \ -o ${VMIMAGE} ;; powerpc:powerpc*) mkimg -f apm \ -p freebsd-boot/bootfs:=/boot/boot1.hfs \ -p freebsd-swap/swapfs::1G \ - -p freebsd-ufs/rootfs:=${VMBASE} + -p freebsd-ufs/rootfs:=${VMBASE} \ -o ${VMIMAGE} ;; *) @@ -146,10 +146,6 @@ vm_umount_base() { } vm_create_disk() { - if [ -z "${mkimg_paritions}" ]; then - err "No partition types specified. Skipping." - return 1 - fi echo "Creating image... Please wait." echo |