Source-Changes-HG archive

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

[src/netbsd-1-5]: src/distrib/sparc Pullup 1.14 and 1.15 [pk]:



details:   https://anonhg.NetBSD.org/src/rev/5a1922d9ae94
branches:  netbsd-1-5
changeset: 490060:5a1922d9ae94
user:      tv <tv%NetBSD.org@localhost>
date:      Wed Nov 01 03:16:45 2000 +0000

description:
Pullup 1.14 and 1.15 [pk]:
Try copying the miniroot kernel only if it exists.
=====
Check if the kernel set was extracted; if not, copy over the miniroot kernel.

diffstat:

 distrib/sparc/install.md |  17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diffs (31 lines):

diff -r c1142d179f5f -r 5a1922d9ae94 distrib/sparc/install.md
--- a/distrib/sparc/install.md  Wed Nov 01 03:15:43 2000 +0000
+++ b/distrib/sparc/install.md  Wed Nov 01 03:16:45 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: install.md,v 1.12.8.1 2000/10/19 14:24:18 tv Exp $
+#      $NetBSD: install.md,v 1.12.8.2 2000/11/01 03:16:45 tv Exp $
 #
 #
 # Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -187,12 +187,15 @@
 }
 
 md_copy_kernel() {
-       if [ -f /mnt/netbsd.GENERIC ]; then
-               echo -n "Linking /netbsd.GENERIC to /netbsd ... "
-               ln /mnt/netbsd.GENERIC /mnt/netbsd
-               echo "done."
-       else
-               echo "WARNING: No /netbsd.GENERIC!  Please install /netbsd manually!"
+       if [ ! -f /mnt/netbsd ]; then
+               echo -n "WARNING: No kernel installed; "
+               if [ -f /netbsd ]; then
+                       echo -n "copying miniroot kernel... "
+                       cp -p /netbsd /mnt/netbsd
+                       echo "done."
+               else
+                       echo -n "install a kernel manually."
+               fi
        fi
 }
 



Home | Main Index | Thread Index | Old Index