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 nuke md_copy_filesystem()'s conte...



details:   https://anonhg.NetBSD.org/src/rev/d92c901949c1
branches:  trunk
changeset: 473750:d92c901949c1
user:      cgd <cgd%NetBSD.org@localhost>
date:      Fri Jun 18 05:08:57 1999 +0000

description:
nuke md_copy_filesystem()'s contents.  it now just returns 0.

diffstat:

 distrib/utils/sysinst/arch/alpha/md.c |  15 ++-------------
 distrib/utils/sysinst/arch/i386/md.c  |  21 +--------------------
 2 files changed, 3 insertions(+), 33 deletions(-)

diffs (68 lines):

diff -r 5570313036d3 -r d92c901949c1 distrib/utils/sysinst/arch/alpha/md.c
--- a/distrib/utils/sysinst/arch/alpha/md.c     Fri Jun 18 05:06:45 1999 +0000
+++ b/distrib/utils/sysinst/arch/alpha/md.c     Fri Jun 18 05:08:57 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.14 1999/04/23 19:10:54 ross Exp $     */
+/*     $NetBSD: md.c,v 1.15 1999/06/18 05:08:57 cgd Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -142,18 +142,7 @@
 
 int    md_copy_filesystem (void)
 {
-       if (target_already_root()) {
-               return 0;
-       }
-
-       /* Copy the instbin(s) to the disk */
-       printf ("%s", msg_string(MSG_dotar));
-       if (run_prog(0, 0, "Warning: unexpected error",
-               "pax -X -r -w -pe / /mnt") != 0)
-               return 1;
-
-       /* Copy next-stage profile into target /.profile. */
-       return cp_to_target ("/tmp/.hdprofile", "/.profile");
+       return 0;
 }
 
 int md_make_bsd_partitions (void)
diff -r 5570313036d3 -r d92c901949c1 distrib/utils/sysinst/arch/i386/md.c
--- a/distrib/utils/sysinst/arch/i386/md.c      Fri Jun 18 05:06:45 1999 +0000
+++ b/distrib/utils/sysinst/arch/i386/md.c      Fri Jun 18 05:08:57 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.26 1999/05/02 15:26:22 fvdl Exp $ */
+/*     $NetBSD: md.c,v 1.27 1999/06/18 05:08:57 cgd Exp $ */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -196,29 +196,10 @@
 int
 md_copy_filesystem(void)
 {
-       if (target_already_root()) {
-               return 0;
-       }
-
-       /* Copy the instbin(s) to the disk */
-       msg_display(MSG_dotar);
-       if (run_prog(0, 0, NULL, "pax -X -r -w -pe / /mnt") != 0)
-               goto err;
-
-       /* Copy next-stage install profile into target /.profile. */
-       if (cp_to_target("/tmp/.hdprofile", "/.profile") != 0)
-               goto err;
-       if (cp_to_target("/usr/share/misc/termcap", "/.termcap") != 0)
-               goto err;
        return 0;
-err:
-       msg_display(MSG_dotarfail);
-       process_menu(MENU_ok);
-       return 1;
 }
 
 
-
 int
 md_make_bsd_partitions(void)
 {



Home | Main Index | Thread Index | Old Index