summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorVisa Hankala <visa@cvs.openbsd.org>2019-07-28 15:49:19 +0000
committerVisa Hankala <visa@cvs.openbsd.org>2019-07-28 15:49:19 +0000
commitf89d15c603893206567682272dc6593ebb1ba95e (patch)
treedd1f0274cf0f012d19de774bdc1f9a228bdb44b6 /distrib
parenta798372ea7b66cc5d8b94fa75bc94b03d36b6f09 (diff)
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@
Diffstat (limited to 'distrib')
-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