set NCPU so the install script will use bsd.mp when hw.ncpufound > 1
authorjsg <jsg@openbsd.org>
Sun, 25 Feb 2018 01:53:29 +0000 (01:53 +0000)
committerjsg <jsg@openbsd.org>
Sun, 25 Feb 2018 01:53:29 +0000 (01:53 +0000)
ok kettenis@

distrib/arm64/ramdisk/install.md

index 1603efa..f093eed 100644 (file)
@@ -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"