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:
parent
bd0f3d34fa
commit
ed5d608911
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user