Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jan 2025 16:00:55 GMT
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: be53f732663c - stable/14 - bsdinstall: hook up help line and prompt for ZFS disk selection
Message-ID:  <202501281600.50SG0tc5038042@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=be53f732663cbe9c1c4f3e7310cfa82bbe32da90

commit be53f732663cbe9c1c4f3e7310cfa82bbe32da90
Author:     Franco Fichtner <franco@opnsense.org>
AuthorDate: 2025-01-23 11:27:09 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2025-01-28 16:00:12 +0000

    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 d726bc286325dd7093b83c6ebcbaa768c687d825)
---
 usr.sbin/bsdinstall/scripts/zfsboot | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/usr.sbin/bsdinstall/scripts/zfsboot b/usr.sbin/bsdinstall/scripts/zfsboot
index 4f3c9719dde0..2b118e33ba36 100755
--- a/usr.sbin/bsdinstall/scripts/zfsboot
+++ b/usr.sbin/bsdinstall/scripts/zfsboot
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501281600.50SG0tc5038042>