Fix line continuation in write_partition_layout().

Remove variable test that is no longer needed.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Glen Barber 2014-11-08 13:49:18 +00:00
parent 07fe767eb8
commit 38d59ac708
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/release-vmimage/; revision=274287

View File

@ -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