aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-18 23:49:52 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-02-18 23:49:52 +0000
commit65190700cb0f94560458a479cd30f921208deb28 (patch)
tree05b25aab2318389228c4c32929efaf96a5cdb24f
parentd0bf8b5aaccbe082d3728279620b8f8474d9ca8a (diff)
downloadsrc-65190700cb0f94560458a479cd30f921208deb28.tar.gz
src-65190700cb0f94560458a479cd30f921208deb28.zip
release/tools: Add support for building armv7 vm
Currently there is no support for generating armv7 vm images in the release artifacts. In fact in terms of release artifacts and architecture there is no good reason to have a vm release artifact for armv7 as those are mostly used in SOCs or embedded boards. However considering that developers actually do need an easy way to test armv7 with a vm running this is really important. As part of pre-commit ci for developers this can be really helpful for the end developers. Approved by: cperciva, imp, re Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D43952
-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 f6a0ace21564..41437a9e1edb 100644
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -271,7 +271,7 @@ vm_create_disk() {
ROOTFSPART="-p ${FSPARTTYPE}/rootfs:=${VMBASE}"
MAKEFSARGS="$MAKEFSARGS -B little"
;;
- arm64:aarch64 | riscv:riscv64*)
+ arm:armv7 | arm64:aarch64 | riscv:riscv64*)
ESP=yes
BOOTPARTS=
ROOTFSPART="-p ${FSPARTTYPE}/rootfs:=${VMBASE}"