git: f6cfa91f4d6b - stable/12 - release: fix alignment for arm SoCs

From: Glen Barber <gjb_at_FreeBSD.org>
Date: Thu, 11 Aug 2022 03:16:42 UTC
The branch stable/12 has been updated by gjb:

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

commit f6cfa91f4d6b160f5072afb1c89f38743a1f2d13
Author:     Glen Barber <gjb@FreeBSD.org>
AuthorDate: 2022-08-08 14:59:29 +0000
Commit:     Glen Barber <gjb@FreeBSD.org>
CommitDate: 2022-08-11 03:16:05 +0000

    release: fix alignment for arm SoCs
    
    Submitted by:   Mark Millard
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit 45add40717c24ef0b5418664fae1718b15a0422b)
---
 release/tools/arm.subr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/tools/arm.subr b/release/tools/arm.subr
index 637fb596b807..ea0d16f5e9de 100644
--- a/release/tools/arm.subr
+++ b/release/tools/arm.subr
@@ -77,7 +77,7 @@ arm_create_disk() {
 		chroot ${CHROOTDIR} newfs_msdos -L msdosboot -F ${FAT_TYPE} /dev/${mddev}s1
 		chroot ${CHROOTDIR} gpart add -t freebsd ${mddev}
 		chroot ${CHROOTDIR} gpart create -s bsd ${mddev}s2
-		chroot ${CHROOTDIR} gpart add -t freebsd-ufs -a 64k ${mddev}s2
+		chroot ${CHROOTDIR} gpart add -t freebsd-ufs -a 64k -b 64k ${mddev}s2
 		chroot ${CHROOTDIR} newfs -U -L rootfs /dev/${mddev}s2a
 	fi