aboutsummaryrefslogtreecommitdiff
path: root/release/tools/vmimage.subr
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-11-08 13:49:18 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-11-08 13:49:18 +0000
commit38d59ac708a5f97be0d539379ca725490a9a6f21 (patch)
treebbfa6ff4bd8e9ea2f8efcadbcbdee0104721c444 /release/tools/vmimage.subr
parent07fe767eb842e52868613d9347baad709a4533db (diff)
downloadsrc-38d59ac708a5f97be0d539379ca725490a9a6f21.tar.gz
src-38d59ac708a5f97be0d539379ca725490a9a6f21.zip
Fix line continuation in write_partition_layout().
Remove variable test that is no longer needed. Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/projects/release-vmimage/; revision=274287
Diffstat (limited to 'release/tools/vmimage.subr')
-rw-r--r--release/tools/vmimage.subr8
1 files changed, 2 insertions, 6 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index 62273a528f12..b6a91daa5fb4 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