summaryrefslogtreecommitdiff
path: root/distrib/octeon/ramdisk
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2021-10-23 16:16:23 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2021-10-23 16:16:23 +0000
commite43757951cb680409ba0cfe6f0954d1c26c2026f (patch)
tree282bd946ba8c6fc423f461e01548b82d2bf2f762 /distrib/octeon/ramdisk
parent52ec106d5a0e4c32ad608f7b7484f07590a46731 (diff)
Arithmetic is hard! Since MBR partition 0 is the only partition in the boot
media MBR, just use '*' to take all the available space. ok visa@ deraadt@
Diffstat (limited to 'distrib/octeon/ramdisk')
-rw-r--r--distrib/octeon/ramdisk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/octeon/ramdisk/Makefile b/distrib/octeon/ramdisk/Makefile
index adbc9a54841..16c0e22535c 100644
--- a/distrib/octeon/ramdisk/Makefile
+++ b/distrib/octeon/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $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
@@ -18,7 +18,7 @@ all: ${FS}
${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}