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).
This commit is contained in:
martin 2020-02-06 10:47:33 +00:00
parent 6588e96561
commit 8ef7426ad0
1 changed files with 2 additions and 2 deletions

View File

@ -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_partition_desc *install)
"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 {