On Tue, Mar 07, 2023 at 10:29:13PM +0300, Mikhail wrote:
> I recall rather long ago, while installing OpenBSD (I think 6.x) I was
> able accept default answers to almost every question and get the thing
> done, but currently, when installer asks Location of the sets and I
> answer 'disc', the next question is whether partition is mounted, and
> currently I must answer 'no' (default answer is 'yes') and mount 'a'
> partition "manually", otherwise next question (Pathname to the sets
> [7.3/amd64]) will fail, being unable to find the path.
> 
> I think previous behavior was more intuitive for novice users. Is this
> new behavior indented?

Probably would be better to propose a patch, even if it's not tech@.

diff /usr/src
commit - 35ea5efc40855089cb818dc4678aa795b5eb909f
path + /usr/src
blob - 93a02c11b7936312322bd11add181a0421a4aef7
file + distrib/miniroot/install.sub
--- distrib/miniroot/install.sub
+++ distrib/miniroot/install.sub
@@ -2033,7 +2033,7 @@ install_disk() {
 # Install sets from disk.
 # Ask for the disk device containing the set files.
 install_disk() {
-       if ! ask_yn "Is the disk partition already mounted?" yes; then
+       if ! ask_yn "Is the disk partition already mounted?"; then
                ask_which "disk" "contains the $MODE media" \
                        '$(bsort $(get_dkdevs))' \
                        '$(get_dkdevs_uninitialized)'

Reply via email to