bsdinstall: hook up help line and prompt for ZFS disk selection

Previously we were passing the wrong variable names for the prompt and
help line, so the intended action wasn't clear to the user.

Reviewed by:	jhb, markj
MFC after:	3 days
See also:	https://github.com/opnsense/installer/issues/22
Pull Request:	https://github.com/freebsd/freebsd-src/pull/1579

(cherry picked from commit d726bc2863)
This commit is contained in:
Franco Fichtner 2025-01-23 12:27:09 +01:00
parent 65b8215cc3
commit 337c900438

View file

@ -689,17 +689,17 @@ dialog_menu_layout()
done
eval f_dialog_checklist_size height width rows \
\"\$title\" \"\$btitle\" \"\$prompt\" \
\"\$hline\" $disk_check_list
\"\$title\" \"\$btitle\" \"\$disk_prompt\" \
\"\$disk_hline\" $disk_check_list
selections=$( eval $DIALOG \
--title \"\$DIALOG_TITLE\" \
--backtitle \"\$DIALOG_BACKTITLE\" \
--separate-output \
--hline \"\$hline\" \
--hline \"\$disk_hline\" \
--ok-label \"\$msg_ok\" \
--cancel-label \"\$msg_back\" \
--checklist \"\$prompt\" \
--checklist \"\$disk_prompt\" \
$height $width $rows \
$disk_check_list \
2>&1 >&$DIALOG_TERMINAL_PASSTHRU_FD