media MBR, just use '*' to take all the available space.
ok visa@ deraadt@
-# $OpenBSD: Makefile,v 1.18 2021/07/26 12:47:46 kn Exp $
+# $OpenBSD: Makefile,v 1.19 2021/10/23 16:16:22 krw Exp $
FS= miniroot${OSrev}.img
FSSIZE= 24576
${FS}: bsd.rd
dd if=/dev/zero of=${FS} bs=512 count=${FSSIZE}
vnconfig -v -t ${FSDISKTYPE} ${FS} > vnd
- echo 'u\ne 0\nC\nn\n64\n22528\nf 0\nw\nq\n' | fdisk -e `cat vnd`
+ echo 'u\ne 0\nC\nn\n64\n*\nf 0\nw\nq\n' | fdisk -e `cat vnd`
echo 'w\ny\nq\n' | disklabel -E `cat vnd` > /dev/null
newfs -t msdos /dev/r`cat vnd`i
mount /dev/`cat vnd`i ${MOUNT_POINT}