summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2018-02-25 01:53:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2018-02-25 01:53:30 +0000
commit4dd844959cc11c191aecd919c8cd760a50fa1428 (patch)
tree131b3a7c245bc172f67548899dd618cab5c7679f /distrib
parentf8c9d5caf51b8fa9a46e8e0afe999014c6fb32cf (diff)
set NCPU so the install script will use bsd.mp when hw.ncpufound > 1
ok kettenis@
Diffstat (limited to 'distrib')
-rw-r--r--distrib/arm64/ramdisk/install.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/distrib/arm64/ramdisk/install.md b/distrib/arm64/ramdisk/install.md
index 1603efa563c..f093eed3f2c 100644
--- a/distrib/arm64/ramdisk/install.md
+++ b/distrib/arm64/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.7 2017/08/22 23:20:00 jsg Exp $
+# $OpenBSD: install.md,v 1.8 2018/02/25 01:53:29 jsg Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -32,6 +32,7 @@
# machine dependent section of installation/upgrade script.
#
+NCPU=$(sysctl -n hw.ncpufound)
NEWFSARGS_msdos="-F 16 -L boot"
MOUNT_ARGS_msdos="-o-l"