Module Name:    src
Committed By:   mlelstv
Date:           Tue Aug 15 12:07:23 UTC 2017

Modified Files:
        src/distrib/amiga/miniroot: install.md

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


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/distrib/amiga/miniroot/install.md

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/amiga/miniroot/install.md
diff -u src/distrib/amiga/miniroot/install.md:1.27 src/distrib/amiga/miniroot/install.md:1.28
--- src/distrib/amiga/miniroot/install.md:1.27	Sun May 24 22:59:18 2009
+++ src/distrib/amiga/miniroot/install.md	Tue Aug 15 12:07:23 2017
@@ -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 @@ md_installboot() {
 		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/
 				;;
 			*)

Reply via email to