Source-Changes-HG archive

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

[src/trunk]: src/distrib/amiga/miniroot Ask for the boot command. It's necess...



details:   https://anonhg.NetBSD.org/src/rev/f50aba889579
branches:  trunk
changeset: 826115:f50aba889579
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Tue Aug 15 12:07:23 2017 +0000

description:
Ask for the boot command. It's necessary for some hardware
configurations and also to enable a serial console in the installed
system.

diffstat:

 distrib/amiga/miniroot/install.md |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r c98c5b105062 -r f50aba889579 distrib/amiga/miniroot/install.md
--- a/distrib/amiga/miniroot/install.md Tue Aug 15 10:40:28 2017 +0000
+++ b/distrib/amiga/miniroot/install.md Tue Aug 15 12:07:23 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: install.md,v 1.27 2009/05/24 22:59:18 mlelstv Exp $
+#      $NetBSD: install.md,v 1.28 2017/08/15 12:07:23 mlelstv Exp $
 #
 #
 # Copyright (c) 1996,2006 The NetBSD Foundation, Inc.
@@ -90,8 +90,10 @@
                getresp "y"
                case "$resp" in
                        y*|Y*)
+                               echo -n "Boot command? [netbsd -ASn2] "
+                               getresp "netbsd -ASn2"
                                echo "Installing boot block..."
-                               chroot /mnt /usr/sbin/installboot /dev/r${1}a /usr/mdec/bootxx_ffs
+                               chroot /mnt /usr/sbin/installboot -o command="$resp" /dev/r${1}a /usr/mdec/bootxx_ffs
                                cp -p /mnt/usr/mdec/boot.amiga /mnt/
                                ;;
                        *)



Home | Main Index | Thread Index | Old Index