git: 5f81a4619dcf - stable/12 - Remove "/dev/" from geom name in `gpart add` command.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 23 Mar 2022 01:31:23 UTC
The branch stable/12 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=5f81a4619dcf8026ab0ba12ea0bd1e6e36ae8c6c commit 5f81a4619dcf8026ab0ba12ea0bd1e6e36ae8c6c 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:31:17 +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 1d4d195ca24d..637fb596b807 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