diff options
author | gjb <gjb@FreeBSD.org> | 2015-04-20 20:06:25 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2015-04-20 20:06:25 +0000 |
commit | aae7c8c171a6672324fd90d7683a921de17b9016 (patch) | |
tree | 876fbb546a34ac865457faff2e812c1adade6a1e /release/tools | |
parent | ac17722aeb9648b522c92bb558c2b54a128eb76e (diff) | |
download | FreeBSD-src-aae7c8c171a6672324fd90d7683a921de17b9016.zip FreeBSD-src-aae7c8c171a6672324fd90d7683a921de17b9016.tar.gz |
Add support for building arm64/aarch64 virtual machine images.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release/tools')
-rw-r--r-- | release/tools/vmimage.subr | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr index 4fd500b..9cff4ec 100644 --- a/release/tools/vmimage.subr +++ b/release/tools/vmimage.subr @@ -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 \ |