The branch stable/14 has been updated by emaste:

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

commit 53b021680ed97b7169ffc244894a8f8179867ac6
Author:     Ed Maste <ema...@freebsd.org>
AuthorDate: 2025-07-25 14:25:18 +0000
Commit:     Ed Maste <ema...@freebsd.org>
CommitDate: 2025-08-24 20:49:40 +0000

    bsdinstall: Improve message for existing FreeBSD EFI entry
    
    When reinstalling FreeBSD bsdinstall reported "There are multiple
    FreeBSD EFI boot entries."  This sounds like something went wrong in the
    past.  Clarify that there may be only one existing entry, which is not
    surprising for a reinstall.
    
    Reviewed by:    manu, ziaee
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D51527
    
    (cherry picked from commit ebc6ff8db17683b566d49fe89a43a668d3d67915)
---
 usr.sbin/bsdinstall/scripts/bootconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.sbin/bsdinstall/scripts/bootconfig 
b/usr.sbin/bsdinstall/scripts/bootconfig
index 618a1966095e..6438f7ef1fca 100755
--- a/usr.sbin/bsdinstall/scripts/bootconfig
+++ b/usr.sbin/bsdinstall/scripts/bootconfig
@@ -71,7 +71,7 @@ update_uefi_bootentry()
        fi
 
        $DIALOG --backtitle "$OSNAME Installer" --title 'Boot Configuration' \
-           --yesno "There are multiple \"$OSNAME\" EFI boot entries. Would you 
like to remove them all and add a new one?" 0 0
+           --yesno "One or more \"$OSNAME\" EFI boot manager entries already 
exist. Would you like to remove them all and add a new one?" 0 0
        if [ $? -eq $DIALOG_OK ]; then
                for entry in $(efibootmgr | awk "\$NF == \"$EFI_LABEL_NAME\" { 
sub(/.*Boot/,\"\", \$1); sub(/\*/,\"\", \$1); print \$1 }"); do
                        efibootmgr -B -b ${entry}

Reply via email to