Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst/arch/i386 PR install/54934: always use -f o...



details:   https://anonhg.NetBSD.org/src/rev/4f94a8a7d806
branches:  trunk
changeset: 744555:4f94a8a7d806
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 06 10:47:33 2020 +0000

description:
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).

diffstat:

 usr.sbin/sysinst/arch/i386/md.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8d7f7525b351 -r 4f94a8a7d806 usr.sbin/sysinst/arch/i386/md.c
--- a/usr.sbin/sysinst/arch/i386/md.c   Thu Feb 06 10:42:06 2020 +0000
+++ b/usr.sbin/sysinst/arch/i386/md.c   Thu Feb 06 10:47:33 2020 +0000
@@ -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 @@
                    "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 {



Home | Main Index | Thread Index | Old Index