summaryrefslogtreecommitdiff
path: root/distrib/alpha
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2023-04-26 14:42:28 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2023-04-26 14:42:28 +0000
commit9a95f2b14c21377d5aa2e8d98275fab114ccc4fa (patch)
treefefccd69ca9af15817ee9324ef66fa7edfa5d88a /distrib/alpha
parentd3ea1312a051ee07224ffbe79c3b6ad955f48d9e (diff)
Don't rely on the disklabel defaults or a disktab entry's ba#/fa#
values for the block/fragment sizes that some install media need. Hoist the desired values into the newfs(8) invocations to make it obvious non-default values are required and what the values are. No functional change. ok kn@
Diffstat (limited to 'distrib/alpha')
-rw-r--r--distrib/alpha/miniroot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/alpha/miniroot/Makefile b/distrib/alpha/miniroot/Makefile
index a2b26eb5234..da148703a7f 100644
--- a/distrib/alpha/miniroot/Makefile
+++ b/distrib/alpha/miniroot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.23 2021/07/26 12:47:44 kn Exp $
+# $OpenBSD: Makefile,v 1.24 2023/04/26 14:42:27 krw Exp $
FS= miniroot${OSrev}.img
FSSIZE= 5760
@@ -20,7 +20,7 @@ ${FS}: bsd.gz
dd if=/dev/zero of=${FS} bs=512 count=${FSSIZE}
vnconfig -v ${FS} > vnd
disklabel -w `cat vnd` ${FSDISKTYPE}
- newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
+ newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} -b 8192 -f 4096 /dev/r`cat vnd`a
mount /dev/`cat vnd`a ${MOUNT_POINT}
install -c -m 555 -o root -g wheel \
${DESTDIR}/usr/mdec/boot ${MOUNT_POINT}/boot