summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
Diffstat (limited to 'distrib')
-rw-r--r--distrib/miniroot/install.sub5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/miniroot/install.sub b/distrib/miniroot/install.sub
index 028a9ee9a1d..6b49a6c1287 100644
--- a/distrib/miniroot/install.sub
+++ b/distrib/miniroot/install.sub
@@ -1,5 +1,5 @@
#!/bin/ksh
-# $OpenBSD: install.sub,v 1.1147 2020/02/02 20:33:52 krw Exp $
+# $OpenBSD: install.sub,v 1.1148 2020/02/29 07:31:34 otto Exp $
#
# Copyright (c) 1997-2015 Todd Miller, Theo de Raadt, Ken Westerback
# Copyright (c) 2015, Robert Peichaer <rpe@openbsd.org>
@@ -507,7 +507,7 @@ configure_disk() {
# Use machine-dependent newfs options for the root
# partition if defined.
- _opt=
+ _opt=$MDFSOPT
[[ $_mp == / ]] && _opt=$MDROOTFSOPT
newfs -q $_opt ${_pp##/dev/}
@@ -3328,6 +3328,7 @@ umount -af >/dev/null 2>&1
#
# The following variables can be provided if required:
# MDEFI - set to 'y' on archs that support GPT partitioning
+# MDFSOPT - newfs options for non-root partitions
# MDROOTFSOPT - newfs options for the root partition
# MDSETS - list of files to add to DEFAULT and ALLSETS
# MDSANESETS - list of files to add to SANESETS