git: 65190700cb0f - main - release/tools: Add support for building armv7 vm

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 18 Feb 2024 23:58:04 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/src/commit/?id=65190700cb0f94560458a479cd30f921208deb28

commit 65190700cb0f94560458a479cd30f921208deb28
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-02-18 23:49:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-18 23:49:52 +0000

    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
---
 release/tools/vmimage.subr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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}"