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/alpha * Umm, the installboot(8) r...



details:   https://anonhg.NetBSD.org/src/rev/e4db4e867e96
branches:  trunk
changeset: 472169:e4db4e867e96
user:      ross <ross%NetBSD.org@localhost>
date:      Fri Apr 23 19:10:54 1999 +0000

description:
* Umm, the installboot(8) run is important. Don't ignore errors!
* Use the current boot program schema.

diffstat:

 distrib/utils/sysinst/arch/alpha/md.c |  12 +++++-------
 1 files changed, 5 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 74772d6c37e5 -r e4db4e867e96 distrib/utils/sysinst/arch/alpha/md.c
--- a/distrib/utils/sysinst/arch/alpha/md.c     Fri Apr 23 18:45:50 1999 +0000
+++ b/distrib/utils/sysinst/arch/alpha/md.c     Fri Apr 23 19:10:54 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.13 1999/04/15 05:01:04 nathanw Exp $  */
+/*     $NetBSD: md.c,v 1.14 1999/04/23 19:10:54 ross Exp $     */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -133,13 +133,10 @@
  */
 int    md_post_newfs (void)
 {
-
-       const char *bootfile = target_expand("/boot");  /*XXX*/
-
        printf (msg_string(MSG_dobootblks), diskdev);
        cp_to_target("/usr/mdec/boot", "/boot");
-       run_prog(0, 0, NULL, "/usr/mdec/installboot %s %s /dev/r%sc",
-           bootfile,  "/usr/mdec/bootxx", diskdev);
+       run_prog(0, 1, "Warning: disk is probably not bootable",
+               "/usr/mdec/installboot /dev/r%sc /usr/mdec/bootxx_ffs", diskdev);
        return 0;
 }
 
@@ -151,7 +148,8 @@
 
        /* Copy the instbin(s) to the disk */
        printf ("%s", msg_string(MSG_dotar));
-       if (run_prog(0, 0, NULL, "pax -X -r -w -pe / /mnt") != 0)
+       if (run_prog(0, 0, "Warning: unexpected error",
+               "pax -X -r -w -pe / /mnt") != 0)
                return 1;
 
        /* Copy next-stage profile into target /.profile. */



Home | Main Index | Thread Index | Old Index