Module Name: src
Committed By: martin
Date: Thu Apr 12 13:54:11 UTC 2018
Modified Files:
src/usr.sbin/sysinst/arch/i386 [netbsd-8]: md.c
Log Message:
Pull up following revision(s) (requested by snj in ticket #743):
usr.sbin/sysinst/arch/i386/md.c: revision 1.7
Clear the screen after running installboot. If we don't, there will
be a leftover line saying "Status: Finished" at the top of the next
screen, along with some random punctuation in the left and right
margins. Inspired by ../landisk/md.c 1.3.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.8.1 src/usr.sbin/sysinst/arch/i386/md.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/sysinst/arch/i386/md.c
diff -u src/usr.sbin/sysinst/arch/i386/md.c:1.6 src/usr.sbin/sysinst/arch/i386/md.c:1.6.8.1
--- src/usr.sbin/sysinst/arch/i386/md.c:1.6 Sun May 10 10:14:02 2015
+++ src/usr.sbin/sysinst/arch/i386/md.c Thu Apr 12 13:54:11 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.6 2015/05/10 10:14:02 martin Exp $ */
+/* $NetBSD: md.c,v 1.6.8.1 2018/04/12 13:54:11 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -347,11 +347,11 @@ md_post_newfs(void)
"console=%s,speed=%u", consoles[boottype.bp_consdev],
boottype.bp_conspeed);
if (pm->isspecial) {
- ret = run_program(RUN_DISPLAY | RUN_NO_CLEAR,
+ ret = run_program(RUN_DISPLAY,
"/usr/sbin/installboot -o %s /dev/r%s %s",
boot_options, pm->diskdev, bootxx_filename);
} else {
- ret = run_program(RUN_DISPLAY | RUN_NO_CLEAR,
+ ret = run_program(RUN_DISPLAY,
"/usr/sbin/installboot -o %s /dev/r%s%c %s",
boot_options, pm->diskdev, 'a' + pm->rootpart,
bootxx_filename);