Module Name: src
Committed By: martin
Date: Thu Feb 6 10:47:33 UTC 2020
Modified Files:
src/usr.sbin/sysinst/arch/i386: md.c
Log Message:
PR install/54934: always use -f on the installboot invocation. We come
here post-newfs (and maybe should have dd'd zeros to the start of the
disk before newfs instead).
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 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.29 src/usr.sbin/sysinst/arch/i386/md.c:1.30
--- src/usr.sbin/sysinst/arch/i386/md.c:1.29 Mon Jan 27 21:21:23 2020
+++ src/usr.sbin/sysinst/arch/i386/md.c Thu Feb 6 10:47:33 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: md.c,v 1.29 2020/01/27 21:21:23 martin Exp $ */
+/* $NetBSD: md.c,v 1.30 2020/02/06 10:47:33 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -291,7 +291,7 @@ md_post_newfs_bios(struct install_partit
"console=%s,speed=%u", consoles[boottype.bp_consdev],
boottype.bp_conspeed);
ret = run_program(RUN_DISPLAY,
- "/usr/sbin/installboot -o %s %s %s",
+ "/usr/sbin/installboot -f -o %s %s %s",
boot_options, rdev, bootxx_filename);
free(bootxx_filename);
} else {