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/sparc Create a symlink of netbsd ...



details:   https://anonhg.NetBSD.org/src/rev/a79fc9f107db
branches:  trunk
changeset: 474646:a79fc9f107db
user:      abs <abs%NetBSD.org@localhost>
date:      Wed Jul 14 16:41:31 1999 +0000

description:
Create a symlink of netbsd to netbsd.GENERIC in md_post_newfs().
Not ideal, but do not want to change kern.tgz until we replace the miniroot
install.

diffstat:

 distrib/utils/sysinst/arch/sparc/md.c |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r a41fd9a9b87b -r a79fc9f107db distrib/utils/sysinst/arch/sparc/md.c
--- a/distrib/utils/sysinst/arch/sparc/md.c     Wed Jul 14 16:30:58 1999 +0000
+++ b/distrib/utils/sysinst/arch/sparc/md.c     Wed Jul 14 16:41:31 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: md.c,v 1.14 1999/06/22 00:57:10 cgd Exp $      */
+/*     $NetBSD: md.c,v 1.15 1999/07/14 16:41:31 abs Exp $      */
 
 /*
  * Copyright 1997 Piermont Information Systems Inc.
@@ -136,6 +136,14 @@
 int
 md_post_newfs()
 {
+       /*
+        * Create a symlink of netbsd to netbsd.GENERIC
+        * XXX This is... less than ideal... but there is no md hook between
+        * get_and_unpack_sets() and sanity_check(), and we do not want to
+        * change kern.tgz until we replace the miniroot install
+        */
+       symlink("netbsd.GENERIC",target_expand("/netbsd"));
+
        /* boot blocks ... */
        msg_display(MSG_dobootblks, diskdev);
        return (run_prog(0, 1, NULL, "/sbin/disklabel -W %s", diskdev) ||



Home | Main Index | Thread Index | Old Index