summaryrefslogtreecommitdiff
path: root/distrib/sparc64
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2020-05-18 06:20:45 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2020-05-18 06:20:45 +0000
commitb6287cef9243e06e73ff157fa843467499f51489 (patch)
treef53b1c0b07457ce24a80636a6bca250f8abd5b21 /distrib/sparc64
parent03cd8ca6a4b3c9251b72129bd2a13e6bf56cf2f3 (diff)
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/sparc64')
-rw-r--r--distrib/sparc64/miniroot/Makefile4
-rw-r--r--distrib/sparc64/ramdisk/Makefile4
-rw-r--r--distrib/sparc64/ramdiskB/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/distrib/sparc64/miniroot/Makefile b/distrib/sparc64/miniroot/Makefile
index f558ecd3596..c3d950c71b0 100644
--- a/distrib/sparc64/miniroot/Makefile
+++ b/distrib/sparc64/miniroot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.22 2020/05/17 17:04:28 deraadt Exp $
+# $OpenBSD: Makefile,v 1.23 2020/05/18 06:20:44 otto Exp $
FS= miniroot${OSrev}.img
FSSIZE= 6400
@@ -22,7 +22,7 @@ ${FS}: bsd.gz
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/ofwboot ${MOUNT_POINT}/ofwboot
diff --git a/distrib/sparc64/ramdisk/Makefile b/distrib/sparc64/ramdisk/Makefile
index 8c298e1f6b2..14dccb17ec2 100644
--- a/distrib/sparc64/ramdisk/Makefile
+++ b/distrib/sparc64/ramdisk/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.50 2020/05/17 17:04:28 deraadt Exp $
+# $OpenBSD: Makefile,v 1.51 2020/05/18 06:20:44 otto Exp $
FS= floppy${OSrev}.img
FSSIZE= 2880
@@ -19,7 +19,7 @@ ${FS}: bsd.gz
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/ofwboot ${MOUNT_POINT}/ofwboot
diff --git a/distrib/sparc64/ramdiskB/Makefile b/distrib/sparc64/ramdiskB/Makefile
index 289cc1a0208..7c43c228489 100644
--- a/distrib/sparc64/ramdiskB/Makefile
+++ b/distrib/sparc64/ramdiskB/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.45 2020/05/17 17:04:28 deraadt Exp $
+# $OpenBSD: Makefile,v 1.46 2020/05/18 06:20:44 otto Exp $
FS= floppyB${OSrev}.img
FSSIZE= 2880
@@ -19,7 +19,7 @@ ${FS}: bsd.gz
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/ofwboot ${MOUNT_POINT}/ofwboot