Source-Changes-HG archive

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

[src/trunk]: src/distrib/utils/sysinst/arch/sgimips Stop md_pre_disklabel fal...



details:   https://anonhg.NetBSD.org/src/rev/a0b7fceac732
branches:  trunk
changeset: 571233:a0b7fceac732
user:      dsl <dsl%NetBSD.org@localhost>
date:      Sun Nov 14 18:36:11 2004 +0000

description:
Stop md_pre_disklabel falling off its bottom.

diffstat:

 distrib/utils/sysinst/arch/sgimips/md.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 7cf0a63e3237 -r a0b7fceac732 distrib/utils/sysinst/arch/sgimips/md.c
--- a/distrib/utils/sysinst/arch/sgimips/md.c   Sun Nov 14 18:07:56 2004 +0000
+++ b/distrib/utils/sysinst/arch/sgimips/md.c   Sun Nov 14 18:36:11 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.17 2004/11/13 10:26:39 sekiya Exp $   */
+/*     $NetBSD: md.c,v 1.18 2004/11/14 18:36:11 dsl Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -118,7 +118,8 @@
                return run_program(RUN_DISPLAY,
                    "%s %s", "/usr/mdec/sgivol -f -w boot /usr/mdec/ip3xboot",
                    diskdev);
-       else if (strstr(instsys.version, "(INSTALL32_IP2x)")) {
+
+       if (strstr(instsys.version, "(INSTALL32_IP2x)")) {
                run_program(RUN_DISPLAY,
                  "%s %s", "/usr/mdec/sgivol -f -w aoutboot /usr/mdec/aoutboot",
                  diskdev);
@@ -126,6 +127,9 @@
                  "%s %s", "/usr/mdec/sgivol -f -w boot /usr/mdec/ip2xboot",
                  diskdev);
        }
+
+       /* Presumably an IP12, we add the boot code later... */
+       return 0;
 }
 
 int



Home | Main Index | Thread Index | Old Index