summaryrefslogtreecommitdiffstats
path: root/distrib/luna88k
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2020-05-18 06:20:43 +0000
committerotto <otto@openbsd.org>2020-05-18 06:20:43 +0000
commit6bc807e4d833195ee4c71cebd213a6e33dd463fa (patch)
treefc4eceeeaf651211b964a7127826d4926dafb2f7 /distrib/luna88k
parentavoid possible NULL deref; from Pedro Martelletto (diff)
downloadwireguard-openbsd-6bc807e4d833195ee4c71cebd213a6e33dd463fa.tar.xz
wireguard-openbsd-6bc807e4d833195ee4c71cebd213a6e33dd463fa.zip
Make ffs2 the default for newfs; change all calls to create e.g. floppy
filesystems or ramdisks to use explicit -O 1; installer already does that. ok sthen@
Diffstat (limited to 'distrib/luna88k')
-rw-r--r--distrib/luna88k/ramdisk/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/distrib/luna88k/ramdisk/Makefile b/distrib/luna88k/ramdisk/Makefile
index be32707fc96..3b063be7b45 100644
--- a/distrib/luna88k/ramdisk/Makefile
+++ b/distrib/luna88k/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.29 2020/05/17 17:04:27 deraadt Exp $
+# $OpenBSD: Makefile,v 1.30 2020/05/18 06:20:43 otto Exp $
FS= miniroot${OSrev}.img
FSSIZE= 8192
@@ -21,7 +21,7 @@ ${FS}: bsd.rd
dd if=/dev/zero of=${FS} bs=512 count=${FSSIZE}
vnconfig -v ${FS} > vnd
disklabel -w `cat vnd` ${FSDISKTYPE}
- newfs -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a
+ newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /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