git: 45add40717c2 - main - release: fix alignment for arm SoCs

From: Glen Barber <gjb_at_FreeBSD.org>
Date: Mon, 08 Aug 2022 15:00:47 UTC
The branch main has been updated by gjb:

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

commit 45add40717c24ef0b5418664fae1718b15a0422b
Author:     Glen Barber <gjb@FreeBSD.org>
AuthorDate: 2022-08-08 14:59:29 +0000
Commit:     Glen Barber <gjb@FreeBSD.org>
CommitDate: 2022-08-08 14:59:29 +0000

    release: fix alignment for arm SoCs
    
    MFC after:      3 days
    Submitted by:   Mark Millard
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 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 3dea17339958..25d4640cc26b 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