aboutsummaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2020-12-08 00:37:11 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2020-12-08 00:37:11 +0000
commitd46a2a0013e1b0293d5c25c487f76a22b681072f (patch)
tree35a44faca8e84f073a0d36e775fe5a5cab5824d4 /release
parent86635d499298956e08e9ac8edc4bd8cdfa5e4587 (diff)
downloadsrc-d46a2a0013e1b0293d5c25c487f76a22b681072f.tar.gz
src-d46a2a0013e1b0293d5c25c487f76a22b681072f.zip
riscv: allow building virtual machine images
RISC-V has the same booting requirements as arm64 (loader.efi, no legacy boot options), so generated images for both architectures have the same partition layout. Reviewed by: gjb Differential Revision: https://reviews.freebsd.org/D27044
Notes
Notes: svn path=/head/; revision=368422
Diffstat (limited to 'release')
-rw-r--r--release/tools/vmimage.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
index bec191e9f55d..7bad725c9870 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -30,7 +30,7 @@ write_partition_layout() {
-p freebsd-boot/bootfs:=${BOOTFILES}/i386/gptboot/gptboot"
ROOTFSPART="-p freebsd-ufs/rootfs:=${VMBASE}"
;;
- arm64:aarch64)
+ arm64:aarch64 | riscv:riscv64*)
ESP=yes
SCHEME=gpt
BOOTPARTS=