summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2020-06-24 03:54:02 +0000
committerderaadt <deraadt@openbsd.org>2020-06-24 03:54:02 +0000
commit10caf9481f81d7d7d6f2fcf6c91c5bcad7af7bc3 (patch)
tree1774556d78b1546d7a9c839b51682b1cc2b6e81b
parentNuke some pointless *_dev_probe() and *_dev_free() functions and (diff)
downloadwireguard-openbsd-10caf9481f81d7d7d6f2fcf6c91c5bcad7af7bc3.tar.xz
wireguard-openbsd-10caf9481f81d7d7d6f2fcf6c91c5bcad7af7bc3.zip
kernel no longer has to be placed into the boot area, because
we have proper bootblocks. ok visa
-rw-r--r--distrib/octeon/ramdisk/install.md8
1 files changed, 1 insertions, 7 deletions
diff --git a/distrib/octeon/ramdisk/install.md b/distrib/octeon/ramdisk/install.md
index 5459ceb0239..dce66a9902e 100644
--- a/distrib/octeon/ramdisk/install.md
+++ b/distrib/octeon/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.20 2019/07/28 15:49:18 visa Exp $
+# $OpenBSD: install.md,v 1.21 2020/06/24 03:54:02 deraadt Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -36,14 +36,8 @@ NCPU=$(sysctl -n hw.ncpufound)
md_installboot() {
local _disk=$1
- local _kernel=/mnt/bsd
-
- if [[ -f /mnt/bsd.mp ]] && ((NCPU > 1)); then
- _kernel=/mnt/bsd.mp
- fi
if mount -t msdos /dev/${_disk}i /mnt2 && \
- cp $_kernel /mnt2/bsd && cp /mnt/bsd.rd /mnt2/bsd.rd && \
cp /mnt/usr/mdec/boot /mnt2/boot; then
umount /mnt2
return