summaryrefslogtreecommitdiff
path: root/distrib/octeon/iso/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'distrib/octeon/iso/Makefile')
-rw-r--r--distrib/octeon/iso/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/octeon/iso/Makefile b/distrib/octeon/iso/Makefile
index bc5f2e89840..3880b47e321 100644
--- a/distrib/octeon/iso/Makefile
+++ b/distrib/octeon/iso/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.1 2021/04/13 21:13:20 deraadt Exp $
+# $OpenBSD: Makefile,v 1.2 2022/02/06 15:52:23 krw Exp $
FS= install${OSrev}.img
FSSIZE= 832192
@@ -24,8 +24,7 @@ all: ${FS}
${FS}: ${BASE} ${XBASE}
dd if=/dev/zero of=${FS} bs=512 count=${TOTALSIZE}
vnconfig -v ${FS} > vnd
- echo 'u\ne 0\nc\nn\n${MSDOSSTART}\n${MSDOSSIZE}\ne 3\nA6\nn\n${FFSSTART}\n*\nf 0\nw\nq\n' \
- | fdisk -e `cat vnd` >/dev/null
+ fdisk -iy -b "${MSDOSSIZE}@${MSDOSSTART}:c" `cat vnd` >/dev/null
echo 'a a\n\n\n\nw\nq\n' | disklabel -E `cat vnd` >/dev/null
newfs -t msdos /dev/r`cat vnd`i
mount /dev/`cat vnd`i ${MOUNT_POINT}