Source-Changes-HG archive

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

[src/trunk]: src/distrib PR install/54780: in the (of course totally unlikely...



details:   https://anonhg.NetBSD.org/src/rev/ab6e1f3ce8fc
branches:  trunk
changeset: 467023:ab6e1f3ce8fc
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 09 19:17:40 2020 +0000

description:
PR install/54780: in the (of course totally unlikely) case that sysinst
should crash, run "stty sane".

diffstat:

 distrib/acorn32/ramdisk/dot.profile              |  4 ++--
 distrib/alpha/instkernel/ramdisk/dot.profile     |  4 ++--
 distrib/amd64/ramdisks/common/dot.profile        |  4 ++--
 distrib/arc/ramdisk/dot.profile                  |  4 ++--
 distrib/atari/floppies/common/dot.profile        |  4 ++--
 distrib/bebox/ramdisk/dot.profile                |  4 ++--
 distrib/cats/ramdisk/dot.profile                 |  4 ++--
 distrib/cobalt/ramdisk/dot.profile               |  4 ++--
 distrib/dreamcast/ramdisk/dot.profile            |  4 ++--
 distrib/emips/miniroot/dot.profile               |  4 ++--
 distrib/emips/ramdisk/dot.profile                |  4 ++--
 distrib/evbarm/instkernel/ramdisk/dot.profile    |  4 ++--
 distrib/evbmips/instkernel/ramdisk/dot.profile   |  4 ++--
 distrib/evbppc/ramdisk/dot.profile               |  4 ++--
 distrib/evbsh3/instkernel/ramdisk/dot.profile    |  4 ++--
 distrib/ews4800mips/floppies/ramdisk/dot.profile |  4 ++--
 distrib/hp300/ramdisk/dot.profile                |  4 ++--
 distrib/hpcarm/miniroot/dot.profile              |  4 ++--
 distrib/hpcmips/miniroot/dot.profile             |  4 ++--
 distrib/hpcsh/miniroot/dot.profile               |  4 ++--
 distrib/hppa/ramdisk/dot.profile                 |  4 ++--
 distrib/i386/ramdisks/common/dot.profile         |  4 ++--
 distrib/landisk/ramdisk/dot.profile              |  2 +-
 distrib/luna68k/ramdisk/dot.profile              |  4 ++--
 distrib/mac68k/instkernel/ramdisk/dot.profile    |  4 ++--
 distrib/macppc/floppies/ramdisk/dot.profile      |  4 ++--
 distrib/mipsco/ramdisk/dot.profile               |  4 ++--
 distrib/mvme68k/miniroot/dot.profile             |  4 ++--
 distrib/news68k/floppies/ramdisk/dot.profile     |  4 ++--
 distrib/newsmips/floppies/ramdisk/dot.profile    |  4 ++--
 distrib/ofppc/ramdisks/common/dot.profile        |  4 ++--
 distrib/playstation2/miniroot/dot.profile        |  4 ++--
 distrib/pmax/miniroot/dot.profile                |  4 ++--
 distrib/pmax/ramdisk/dot.profile                 |  4 ++--
 distrib/prep/floppies/ramdisk/dot.profile        |  4 ++--
 distrib/riscv/ramdisk/dot.profile                |  4 ++--
 distrib/rs6000/ramdisk/dot.profile               |  4 ++--
 distrib/sandpoint/ramdisk/dot.profile            |  4 ++--
 distrib/sgimips/miniroot/dot.profile             |  2 +-
 distrib/sgimips/ramdisk/dot.profile              |  2 +-
 distrib/shark/instkernel/ramdisk/dot.profile     |  4 ++--
 distrib/sparc/miniroot/dot.profile               |  4 ++--
 distrib/sparc64/instfs/dot.profile               |  4 ++--
 distrib/vax/ramdisk/dot.profile                  |  4 ++--
 distrib/x68k/floppies/ramdisk/dot.profile        |  4 ++--
 distrib/zaurus/ramdisk/dot.profile               |  4 ++--
 46 files changed, 89 insertions(+), 89 deletions(-)

diffs (truncated from 763 to 300 lines):

diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/acorn32/ramdisk/dot.profile
--- a/distrib/acorn32/ramdisk/dot.profile       Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/acorn32/ramdisk/dot.profile       Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.3 2003/07/26 17:06:25 salo Exp $
+# $NetBSD: dot.profile,v 1.4 2020/01/09 19:17:40 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@
        mount -t kernfs /kern /kern
 
        # run the installation or upgrade script.
-       sysinst
+       sysinst || stty sane
 fi
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/alpha/instkernel/ramdisk/dot.profile
--- a/distrib/alpha/instkernel/ramdisk/dot.profile      Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/alpha/instkernel/ramdisk/dot.profile      Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.10 2009/03/29 10:12:31 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.11 2020/01/09 19:17:40 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@
        mount -u $ROOTDEV /
 
        # run the installation program
-       sysinst
+       sysinst || stty sane
 fi
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/amd64/ramdisks/common/dot.profile
--- a/distrib/amd64/ramdisks/common/dot.profile Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/amd64/ramdisks/common/dot.profile Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.profile,v 1.3 2011/02/13 03:58:38 jym Exp $
+#      $NetBSD: dot.profile,v 1.4 2020/01/09 19:17:41 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -68,7 +68,7 @@
 
        if [ -x /sysinst ]; then
                # run the installation or upgrade script.
-               sysinst
+               sysinst || stty sane
        else
                echo "This image contains utilities which may be needed"
                echo "to get you out of a pinch."
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/arc/ramdisk/dot.profile
--- a/distrib/arc/ramdisk/dot.profile   Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/arc/ramdisk/dot.profile   Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2008/11/20 13:43:28 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:40 martin Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -71,7 +71,7 @@
                read _forceloop
                case "$_forceloop" in
                        i*|I*)
-                               /sysinst
+                               /sysinst || stty sane
                                ;;
 
                        s*|S*)
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/atari/floppies/common/dot.profile
--- a/distrib/atari/floppies/common/dot.profile Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/atari/floppies/common/dot.profile Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.7 2017/11/25 09:40:17 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.8 2020/01/09 19:17:41 martin Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -107,5 +107,5 @@
                break
        done
 
-       sysinst
+       sysinst || stty sane
 fi
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/bebox/ramdisk/dot.profile
--- a/distrib/bebox/ramdisk/dot.profile Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/bebox/ramdisk/dot.profile Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2010/10/17 11:05:18 kiyohara Exp $
+# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:41 martin Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@
                read _forceloop
                case "$_forceloop" in
                        i*|I*)
-                               /sysinst
+                               /sysinst || stty sane
                                ;;
 
                        s*|S*)
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/cats/ramdisk/dot.profile
--- a/distrib/cats/ramdisk/dot.profile  Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/cats/ramdisk/dot.profile  Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2008/02/01 17:18:07 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:41 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@
        # run the installation or upgrade script.
        if [ -x /sysinst ]; then
                # run the installation or upgrade script.
-               sysinst
+               sysinst || stty sane
        else
                echo "This image contains utilities which may be needed"
                echo "to get you out of a pinch."
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/cobalt/ramdisk/dot.profile
--- a/distrib/cobalt/ramdisk/dot.profile        Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/cobalt/ramdisk/dot.profile        Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2008/02/02 14:06:48 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:41 martin Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -71,7 +71,7 @@
                read _forceloop
                case "$_forceloop" in
                        i*|I*)
-                               /sysinst
+                               /sysinst || stty sane
                                ;;
 
                        s*|S*)
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/dreamcast/ramdisk/dot.profile
--- a/distrib/dreamcast/ramdisk/dot.profile     Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/dreamcast/ramdisk/dot.profile     Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:39 salo Exp $
+# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:41 martin Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -71,7 +71,7 @@
                read _forceloop
                case "$_forceloop" in
                        i*|I*)
-                       #       /sysinst
+                       #       /sysinst || stty sane
                                echo 'Sorry, sysinst is not ready on this port.'
                                /bin/sh
                                ;;
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/emips/miniroot/dot.profile
--- a/distrib/emips/miniroot/dot.profile        Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/emips/miniroot/dot.profile        Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.profile,v 1.1 2011/01/26 01:18:44 pooka Exp $
+#      $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:41 martin Exp $
 PATH=/sbin:/bin:/usr/bin:/usr/sbin:/
 export PATH
 
@@ -17,4 +17,4 @@
                fi
        done
 
-       sysinst
+       sysinst || stty sane
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/emips/ramdisk/dot.profile
--- a/distrib/emips/ramdisk/dot.profile Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/emips/ramdisk/dot.profile Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2011/06/19 02:40:38 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:41 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@
        mount -u $ROOTDEV /
 
        # run the installation program
-       sysinst
+       sysinst || stty sane
 fi
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/evbarm/instkernel/ramdisk/dot.profile
--- a/distrib/evbarm/instkernel/ramdisk/dot.profile     Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/evbarm/instkernel/ramdisk/dot.profile     Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2003/07/26 17:06:40 salo Exp $
+# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:41 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@
        mount -t kernfs /kern /kern
 
        # run the installation or upgrade script.
-       sysinst
+       sysinst || stty sane
 fi
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/evbmips/instkernel/ramdisk/dot.profile
--- a/distrib/evbmips/instkernel/ramdisk/dot.profile    Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/evbmips/instkernel/ramdisk/dot.profile    Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2006/03/30 15:45:42 shige Exp $
+# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:42 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@
        mount -t kernfs /kern /kern
 
        # run the installation or upgrade script.
-       sysinst
+       sysinst || stty sane
 fi
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/evbppc/ramdisk/dot.profile
--- a/distrib/evbppc/ramdisk/dot.profile        Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/evbppc/ramdisk/dot.profile        Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.4 2012/07/20 11:19:51 matt Exp $
+# $NetBSD: dot.profile,v 1.5 2020/01/09 19:17:42 martin Exp $
 #
 # Copyright (c) 1995 Jason R. Thorpe
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -72,7 +72,7 @@
                read _forceloop
                case "$_forceloop" in
                        i*|I*)
-                               /sysinst
+                               /sysinst || stty sane
                                ;;
 
                        s*|S*)
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/evbsh3/instkernel/ramdisk/dot.profile
--- a/distrib/evbsh3/instkernel/ramdisk/dot.profile     Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/evbsh3/instkernel/ramdisk/dot.profile     Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.1 2010/04/06 15:54:31 nonaka Exp $
+# $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:42 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -60,5 +60,5 @@
        mount -t kernfs /kern /kern
 
        # run the installation or upgrade script.
-       sysinst
+       sysinst || stty sane
 fi
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/ews4800mips/floppies/ramdisk/dot.profile
--- a/distrib/ews4800mips/floppies/ramdisk/dot.profile  Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/ews4800mips/floppies/ramdisk/dot.profile  Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.profile,v 1.1 2005/12/29 16:01:31 tsutsui Exp $
+#      $NetBSD: dot.profile,v 1.2 2020/01/09 19:17:42 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -63,7 +63,7 @@
 
        if [ -x /sysinst ]; then
                # run the installation or upgrade script.
-               sysinst
+               sysinst || stty sane
        else
                echo "This image contains utilities which may be needed"
                echo "to get you out of a pinch."
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/hp300/ramdisk/dot.profile
--- a/distrib/hp300/ramdisk/dot.profile Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/hp300/ramdisk/dot.profile Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: dot.profile,v 1.6 2011/02/06 18:26:51 tsutsui Exp $
+#      $NetBSD: dot.profile,v 1.7 2020/01/09 19:17:42 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -80,7 +80,7 @@
 
        if [ -x /sysinst ]; then
                # run the installation or upgrade script.
-               sysinst
+               sysinst || stty sane
        else
                echo "This image contains utilities which may be needed"
                echo "to get you out of a pinch."
diff -r bcba905dcfd2 -r ab6e1f3ce8fc distrib/hpcarm/miniroot/dot.profile
--- a/distrib/hpcarm/miniroot/dot.profile       Thu Jan 09 18:49:06 2020 +0000
+++ b/distrib/hpcarm/miniroot/dot.profile       Thu Jan 09 19:17:40 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: dot.profile,v 1.2 2010/05/01 12:14:11 tsutsui Exp $
+# $NetBSD: dot.profile,v 1.3 2020/01/09 19:17:42 martin Exp $
 #
 # Copyright (c) 1997 Perry E. Metzger
 # Copyright (c) 1994 Christopher G. Demetriou
@@ -66,5 +66,5 @@
        grep() sed -n "/$1/p"



Home | Main Index | Thread Index | Old Index