summaryrefslogtreecommitdiff
path: root/distrib/loongson
diff options
context:
space:
mode:
authorAlexander Hall <halex@cvs.openbsd.org>2012-07-13 09:23:12 +0000
committerAlexander Hall <halex@cvs.openbsd.org>2012-07-13 09:23:12 +0000
commitc7952a3a84275ee5170da2749b69c0300d32fbe4 (patch)
treea3127605094d32d2794863ecfab6874653a52a2a /distrib/loongson
parentcd87b45e933cd07623c15374255febebc00e6f64 (diff)
back out stuff that snuck into the last commit
Diffstat (limited to 'distrib/loongson')
-rw-r--r--distrib/loongson/ramdisk/install.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/distrib/loongson/ramdisk/install.md b/distrib/loongson/ramdisk/install.md
index 1a4bf08f909..a108bb9d119 100644
--- a/distrib/loongson/ramdisk/install.md
+++ b/distrib/loongson/ramdisk/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.8 2012/07/13 08:52:24 halex Exp $
+# $OpenBSD: install.md,v 1.9 2012/07/13 09:23:11 halex Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -37,8 +37,7 @@ md_installboot() {
if mount -t ext2fs /dev/${_disk}i /mnt2 &&
mkdir -p /mnt2/boot &&
- # Use cat to avoid holes created by cp(1)
- cat /usr/mdec/boot > /mnt2/boot &&
+ cp /usr/mdec/boot /mnt2/boot &&
( [[ $(sysctl -n hw.product) != Gdium ]] ||
cp /mnt/bsd /mnt2/boot/bsd ); then
umount /mnt2