1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Remove "/dev/" from geom name in gpart add command.

PR:		232462
MFC after:	1 week
This commit is contained in:
Alexander Motin 2022-03-16 00:09:09 -04:00
parent bd0f3d34fa
commit ed5d608911

View File

@ -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