summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvisa <visa@openbsd.org>2019-07-28 15:49:18 +0000
committervisa <visa@openbsd.org>2019-07-28 15:49:18 +0000
commit8f6a6a318f8f650fc346233ff83f5f71d6e8a1fc (patch)
tree558d8fe47de27d1bb56bab00b61d2d5391e0026c
parentLink octeon bootloader to the build. (diff)
downloadwireguard-openbsd-8f6a6a318f8f650fc346233ff83f5f71d6e8a1fc.tar.xz
wireguard-openbsd-8f6a6a318f8f650fc346233ff83f5f71d6e8a1fc.zip
Add octeon bootloader to the set of files that get copied
to the boot partition. To use the bootloader, the firmware has to be configured to load file "boot" instead of "bsd". OK deraadt@
-rw-r--r--distrib/octeon/ramdisk/install.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/distrib/octeon/ramdisk/install.md b/distrib/octeon/ramdisk/install.md
index 3702d668f52..5459ceb0239 100644
--- a/distrib/octeon/ramdisk/install.md
+++ b/distrib/octeon/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.19 2018/01/18 14:04:04 visa Exp $
+# $OpenBSD: install.md,v 1.20 2019/07/28 15:49:18 visa Exp $
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -43,7 +43,8 @@ md_installboot() {
fi
if mount -t msdos /dev/${_disk}i /mnt2 && \
- cp $_kernel /mnt2/bsd && cp /mnt/bsd.rd /mnt2/bsd.rd; then
+ cp $_kernel /mnt2/bsd && cp /mnt/bsd.rd /mnt2/bsd.rd && \
+ cp /mnt/usr/mdec/boot /mnt2/boot; then
umount /mnt2
return
fi