Add support for building arm64/aarch64 virtual machine images.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
gjb 2015-04-20 20:06:25 +00:00
parent ac17722aeb
commit aae7c8c171

View File

@ -29,6 +29,13 @@ write_partition_layout() {
-p freebsd-ufs/rootfs:=${VMBASE} \
-o ${VMIMAGE}
;;
arm64:aarch64)
mkimg -s gpt \
-p efi/efiboot:=${BOOTFILES}/efi/boot1/boot1.efifat \
${SWAPOPT} \
-p freebsd-ufs/rootfs:=${VMBASE} \
-o ${VMIMAGE}
;;
powerpc:powerpc*)
mkimg -s apm \
-p apple-boot/bootfs:=${BOOTFILES}/powerpc/boot1.chrp/boot1.hfs \