Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/sparc Update md_installboot to use the new /usr/sbin...



details:   https://anonhg.NetBSD.org/src/rev/c000f4ca4983
branches:  trunk
changeset: 526651:c000f4ca4983
user:      pk <pk%NetBSD.org@localhost>
date:      Tue May 07 12:27:26 2002 +0000

description:
Update md_installboot to use the new /usr/sbin/installboot program.

diffstat:

 distrib/sparc/install.md |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 0a6e0a7e136a -r c000f4ca4983 distrib/sparc/install.md
--- a/distrib/sparc/install.md  Tue May 07 12:22:23 2002 +0000
+++ b/distrib/sparc/install.md  Tue May 07 12:27:26 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: install.md,v 1.17 2000/11/20 11:52:37 pk Exp $
+#      $NetBSD: install.md,v 1.18 2002/05/07 12:27:26 pk Exp $
 #
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -97,8 +97,10 @@
 }
 
 md_installboot() {
+       # $1 is the boot disk
        echo "Installing boot block..."
-       /usr/mdec/binstall ffs /mnt
+       cp -p /usr/mdec/boot /mnt/boot
+       /usr/sbin/installboot -v /dev/r${1}a /usr/mdec/bootxx /boot
 }
 
 md_native_fstype() {



Home | Main Index | Thread Index | Old Index