diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-19 04:08:28 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2014-01-19 04:08:28 +0000 |
commit | 58fcae46314e8946cf28a52777ea4e2cc81771c3 (patch) | |
tree | 011e7704ee84a6c03b25fce9c08e7c2e83f73bb1 /distrib/amd64/common | |
parent | 2f24b22b4e4a605468b2c9132008fd4c734d3636 (diff) |
Switch amd64 installs/upgrades to the new installboot.
Diffstat (limited to 'distrib/amd64/common')
-rw-r--r-- | distrib/amd64/common/install.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/distrib/amd64/common/install.md b/distrib/amd64/common/install.md index 9d73a331cca..735f5160368 100644 --- a/distrib/amd64/common/install.md +++ b/distrib/amd64/common/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.33 2013/11/16 18:37:26 rpe Exp $ +# $OpenBSD: install.md,v 1.34 2014/01/19 04:08:27 jsing Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -39,9 +39,7 @@ NCPU=$(sysctl -n hw.ncpufound) ((NCPU > 1)) && { DEFAULTSETS="bsd bsd.rd bsd.mp" ; SANESETS="bsd bsd.mp" ; } md_installboot() { - # Use cat to avoid holes created by cp(1) - cat /mnt/usr/mdec/boot > /mnt/boot - if ! /mnt/usr/mdec/installboot /mnt/boot /mnt/usr/mdec/biosboot ${1} ; then + if ! installboot -r /mnt ${1} ; then echo "\nFailed to install bootblocks." echo "You will not be able to boot OpenBSD from ${1}." exit |