git: 09d62b4382ef - stable/13 - Remove "/dev/" from geom name in `gpart add` command.

From: Alexander Motin <mav_at_FreeBSD.org>
Date: Wed, 23 Mar 2022 01:29:00 UTC
The branch stable/13 has been updated by mav:

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

commit 09d62b4382ef1905282371f3944bd6566315520c
Author:     Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2022-03-16 04:09:09 +0000
Commit:     Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-03-23 01:28:52 +0000

    Remove "/dev/" from geom name in `gpart add` command.
    
    PR:             232462
    MFC after:      1 week
    
    (cherry picked from commit ed5d6089113cac259202a28f2e1f89727c4d6ea3)
---
 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 811d6ddb402d..919c7d0c61ac 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 /dev/${mddev}s2
+		chroot ${CHROOTDIR} gpart add -t freebsd-ufs -a 64k ${mddev}s2
 		chroot ${CHROOTDIR} newfs -U -L rootfs /dev/${mddev}s2a
 	fi