git: 277ed435d478 - stable/13 - release: Bump default VM size for riscv64 to 6 GB

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Wed, 16 Oct 2024 04:16:40 UTC
The branch stable/13 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=277ed435d478e59851d394f033efe99bc988e94a

commit 277ed435d478e59851d394f033efe99bc988e94a
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2024-06-28 22:47:11 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2024-10-16 04:15:15 +0000

    release: Bump default VM size for riscv64 to 6 GB
    
    Due to issues with the riscv64 toolchain, some binaries end up
    significantly larger on riscv64 than they should be.  This results
    in riscv64 VM images -- and at present *only* riscv64 images -- not
    fitting within the default 5 GB filesystem size.
    
    Bump the default size for riscv64 to 6 GB until the toolchain issues
    can be resolved.
    
    MFC after:      1 week
    Sponsored by:   Amazon
    
    (cherry picked from commit 59c21ed6e811c753f7806766ba45a5bfa71ae2ed)
---
 release/Makefile.vm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/release/Makefile.vm b/release/Makefile.vm
index 520f47ab3ca6..4d301672836d 100644
--- a/release/Makefile.vm
+++ b/release/Makefile.vm
@@ -6,7 +6,11 @@
 
 VMTARGETS=	vm-image
 VMFORMATS?=	vhd vmdk qcow2 raw
+.if ${TARGET_ARCH} == riscv64
+VMSIZE?=	6144m
+.else
 VMSIZE?=	5120m
+.endif
 SWAPSIZE?=	1g
 VMBASE?=	vm