Source-Changes-HG archive

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

[src/netbsd-1-4]: src/distrib/utils/sysinst/arch/alpha sync to 1.14 (ross)



details:   https://anonhg.NetBSD.org/src/rev/b95bd66029a9
branches:  netbsd-1-4
changeset: 468450:b95bd66029a9
user:      perry <perry%NetBSD.org@localhost>
date:      Fri Apr 23 21:35:12 1999 +0000

description:
sync to 1.14 (ross)

diffstat:

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

diffs (35 lines):

diff -r 1023b02041a0 -r b95bd66029a9 distrib/utils/sysinst/arch/alpha/md.c
--- a/distrib/utils/sysinst/arch/alpha/md.c     Fri Apr 23 21:34:54 1999 +0000
+++ b/distrib/utils/sysinst/arch/alpha/md.c     Fri Apr 23 21:35:12 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.9.2.1 1999/04/19 15:19:28 perry Exp $ */
+/*     $NetBSD: md.c,v 1.9.2.2 1999/04/23 21:35:12 perry 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