Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/sysinst When we fail to setup for "all of the disk ...



details:   https://anonhg.NetBSD.org/src/rev/f1c9444f9c86
branches:  trunk
changeset: 845928:f1c9444f9c86
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Oct 24 18:17:08 2019 +0000

description:
When we fail to setup for "all of the disk for NetBSD" report
failure, instead of silently aborting the install.

diffstat:

 usr.sbin/sysinst/part_edit.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 2ea9984ee5a9 -r f1c9444f9c86 usr.sbin/sysinst/part_edit.c
--- a/usr.sbin/sysinst/part_edit.c      Thu Oct 24 16:52:11 2019 +0000
+++ b/usr.sbin/sysinst/part_edit.c      Thu Oct 24 18:17:08 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: part_edit.c,v 1.7 2019/07/12 18:25:08 martin Exp $ */
+/*     $NetBSD: part_edit.c,v 1.8 2019/10/24 18:17:08 martin Exp $ */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -1152,8 +1152,10 @@
                                return false;
                        }
                }
-               if (!md_parts_use_wholedisk(parts))
+               if (!md_parts_use_wholedisk(parts)) {
+                       hit_enter_to_continue(MSG_No_free_space, NULL);
                        return false;
+               }
                if (parts->pscheme->post_edit_verify) {
                        return
                            parts->pscheme->post_edit_verify(parts, true) == 2;



Home | Main Index | Thread Index | Old Index